I have found some code that caps the 1st letter of a sting, but I am looking for some code that will convert a whole string into caps.
This is the code I have found
Thanks for you help!Code:convert a whole string into caps
Printable View
I have found some code that caps the 1st letter of a sting, but I am looking for some code that will convert a whole string into caps.
This is the code I have found
Thanks for you help!Code:convert a whole string into caps
You mean:
vb.net Code:
Dim s As String = "convert a whole string into caps".ToUpper() MessageBox.Show(s)
?
Call the strings ToUpper method:
Edit: Dang, too late!Code:Dim myString as String = "Hello"
MessageBox.Show(myString.ToUpper())
Thanks for the fast response, also the code work well! Thanks!