|
-
Jul 19th, 2009, 03:20 PM
#1
Thread Starter
Hyperactive Member
[RESOLVED] Convert a whole string into caps
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
Code:
convert a whole string into caps
Thanks for you help!
 [COLOR="Black"]
-
Jul 19th, 2009, 03:30 PM
#2
Re: 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)
?
-
Jul 19th, 2009, 03:34 PM
#3
Re: Convert a whole string into caps
Call the strings ToUpper method:
Code:
Dim myString as String = "Hello"
MessageBox.Show(myString.ToUpper())
Edit: Dang, too late!
-
Jul 19th, 2009, 03:48 PM
#4
Thread Starter
Hyperactive Member
Re: Convert a whole string into caps
Thanks for the fast response, also the code work well! Thanks!
 [COLOR="Black"]
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|