How can I get the 3rd or 4th Element of a String
Printable View
How can I get the 3rd or 4th Element of a String
Dim strThirdCharacter as string
Dim strFourthCharacter as string
Dim strMyString as string
strMyString = "Testing"
strThirdCharacter = mid(strMyString, 3, 1)' will be returned "s"
strFourthCharacter = mid(strMyString, 4, 1)' will be returned "t"
HTH
Vlad
thanks a lot
mfG Pueromane