How to capatilize First letter of two string eg. “emirati plan” it should be like “Emirati Plan”
Hi @goharmalik,
implement below logic
variable → variable1 (string)
string.Join(" ",Split(StrConv(Join$(variable1.Split(" "c), " "), vbProperCase), " "))
Regards,
Arivu
1 Like
Hi
try this
arr = Split(StrConv(Join$(arr, " "), vbProperCase), " ")
Hi,
An alternative is to use TextInfo from .Net, Here is an example. You can wrap your string variable in place of my name on the expression.
New Globalization.CultureInfo("en-US",False).TextInfo.ToTitleCase("florent salendres")
Cheers
1 Like
Please refer the below post.
1 Like
thanks all for the help