|
-
Mar 29th, 2004, 09:26 PM
#1
Thread Starter
Frenzied Member
function to make a string capital on every word [RESOLVED]
is there a built-in function to make every word in a string capitalize? I have a vb6 function to do this but I want to either re-write it or use a natively built function.
Last edited by Andy; Mar 29th, 2004 at 10:44 PM.
-
Mar 29th, 2004, 10:14 PM
#2
Frenzied Member
There is a function in vb called propercase to do this but I dont know if its in the .NET framework. You can find it in the Microsoft.VisualBasic namespace.
VB Code:
StrConv("this is a test", VbStrConv.ProperCase)
Last edited by DevGrp; Mar 29th, 2004 at 10:38 PM.
-
Mar 29th, 2004, 10:44 PM
#3
Thread Starter
Frenzied Member
works like a charm!! That was in vb6? I don't recall that. Thanks a whole heck of a lot!!
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
|