hello all,
i have a string as
MyNameIsJOHN
but now i want it to be displayed as 'My Name Is JOHN'. ( space in between)
i have used
and i am getting 'My Name Is J O H N' , my problem is how should i get JOHN in one word rather than with space(s).
any idea
i have a string as
MyNameIsJOHN
but now i want it to be displayed as 'My Name Is JOHN'. ( space in between)
i have used
Code:
System.Text.RegularExpressions.Regex.Replace("MyNameIsJOHN", "[A-Z]", " $0").Trim()
any idea
Comment