-
Hi!
Which is the quickest way to capitalize a string in my VB6-app? I need a function that capitalizes also scands and special characters (ä,ö,å, ...).
e.g. "this is åke and he has programs in c:\hassu\öklö pöklö" --> "This Is Åke And He Has Programs In C:\Hassu\Öklö Pöklö"
Thanks,
LK
-
-
Thanks.. but could some one tell me about this a little bit more?
-
For doing something like "this is a test" into "This Is A Test", you can use this:
Code:
Text1.Text = StrConv(Text1.Text, vbProperCase)
It does work on special characters too like the ones you mentioned. As for capitalizing the letters in your example path, I think you'll have to make up something to do that yourself using UCase.