its actually blowing up on this \ when i try to split the string
it should be
String User = request.Servervariables["AUTH_USER"];
string[] splitString = User.Split('\'); 'receiving error here when
compiling.
lblUser.text = User[2];
does C# not like the backslash? \
Mark mm said:
heres what i have and its not working, i'm a missing something or is the
syntax incorrect?
String User = request.Servervariables["AUTH_USER"];
string[] splitString = User.Split('/');
lblUser.text = User[2];
2 should be the user name only
Remember arrays are 0 indexed ie the second element will be 1.
If you put a break point at the lblUser.. statement and look at what
splitString contains it may reveal more.