In this sample, I have a string="Visual Studio 2012" and I would like a message box show each character at each time(mean: the message will show one character at one time and when you click the OK button of message box, it will show the next character and do the same like this till the last character.)
Dim WholeString As String = "Visual Basic 2012"
Dim i As Integer
For i = 0 To WholeString.Length - 1
WholeString.ToUpper()
MsgBox(WholeString.Chars(i))
Next
Dim WholeString As String = "Visual Basic 2012"
Dim i As Integer
For i = 0 To WholeString.Length - 1
WholeString.ToUpper()
MsgBox(WholeString.Chars(i))
Next
next
|
|
|
|
|
last character
0 comments:
Post a Comment