View Single Post
  #2 (permalink)  
Old 08-16-2006, 09:36 AM
hoser2001's Avatar   
hoser2001 hoser2001 is offline
Programmer
 
Join Date: Jul 2006
Posts: 175
Credits: 0
Rep Power: 11
hoser2001 is on a distinguished road
Default

I would say whatever string you have, split it into two strings, the first letter being one string, and the rest of the word being the second string, then use the toupper and tolower functions on each of them to get the desired case, then put the string back together in one string.

string myString
string 1 = myString.firstletter
string 2 = myString.therest
1.toupper
2.tolower
myString = 1 + 2
Reply With Quote