N
nexus
It is possible to retrieve a particular character by
referencing the index of that character through the Chars
property. For example:
Dim myString As String = "ABCDE"
Dim myChar As Char
myChar = myString.Chars(3) ' myChar = "D"
but what if i want to retrieve both letter in the 2nd and
3rd position from the character? Is it possible?
referencing the index of that character through the Chars
property. For example:
Dim myString As String = "ABCDE"
Dim myChar As Char
myChar = myString.Chars(3) ' myChar = "D"
but what if i want to retrieve both letter in the 2nd and
3rd position from the character? Is it possible?