example string : my name is vegeta
output : My Name Is Vegeta
any idea how to do this with a single assign?
Thanks
example string : my name is vegeta
output : My Name Is Vegeta
any idea how to do this with a single assign?
Thanks
Hi,
How about the following expression?
(new System.Globalization.CultureInfo("en-US",false).TextInfo).ToTitleCase(yourString)
Regards,
Hi @Ahmad_Rais ,
You can try below code
Globalization.CultureInfo.CurrentCulture.TextInfo.ToTitleCase("this is some text")
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.