[Solved] Index and length must refer to a location within the string when I try to add an extra digit? [closed]
[ad_1] BreedPub.Substring(0, 3) is probably throwing the exception because your BreedPub argument is too short. You should add some range checking to make sure the parameter is at least 3 characters long. 1 [ad_2] solved Index and length must refer to a location within the string when I try to add an extra digit? [closed]