by aot2002 jasonb (1 Submission)
Category: String Manipulation
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Sat 21st December 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Read character by character in a string.
mystring ="hello"
dim counter as long
dim mystring as string
lengthofstring = Len(mystring)
If lengthofstring > 0 Then
For counter = 1 To lengthofstring
character1 = Mid(mystring, counter, 1)
MsgBox character1
Next counter
else
msgbox "please enter a string first"
end if