Dim x As String = "I am me" 'This is the Left : Result "I" Debug.WriteLine(x.Substring(0, 1)) 'This is the Mid : Result "am" Debug.WriteLine(x.Substring(2, 2)) 'This is the Right : Result "me" Debug.WriteLine(x.Substring(x.Length - 2, 2))
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)