I have a string that has a string length of 66
Then I display it, using this one:
string.Substring(0, 20);
string.Substring(21, 40);
string.Substring(41, 60); --Error here
string.Substring(61, string.Length)
Why do I get an error saying that. Index and length must refer to a location within the string. Parameter name: length
Any ideas? Thanks!