C# Programming
06-23-2009, 11:01 PM
Hey getting an exception with the following code
string Percentage = LastLine.Substring(LastLine.LastIndexOf("%") - 2, 2);
the string is a wgetlog , Im trying to get the two characters before % but the above code crashes the debugger
modified on Tuesday, June 23, 2009 2:40 PM
string Percentage = LastLine.Substring(LastLine.LastIndexOf("%") - 2, 2);
the string is a wgetlog , Im trying to get the two characters before % but the above code crashes the debugger
modified on Tuesday, June 23, 2009 2:40 PM