I am trying to get have one Substring go from the beginning of a string to a certain position and another Substring go from the end of the last position to the end of the string. But I don’t know what the end will be. it will be multiple lengths. Is there a way to just go to the end of the string without giving a specific character position, something like below?
StartVariable.Substring(0, 14)
EndVariable.Substring(15, Substring.Length)
Thanks!
Just use
EndVariable.Substring(15).