I found the function below :
CFStringCapitalize
"Changes the first character in each word of a string to uppercase (if it is a lowercase alphabetical character)."
void CFStringCapitalize (
CFMutableStringRef theString,
CFLocaleRef locale
);
Does anyone know how to use it with my NSMutableString ?
Thank you,
Gauthier.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…