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.
Printable View
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.
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)
works like a charm!! :) That was in vb6? I don't recall that. Thanks a whole heck of a lot!!