Truncate and remove empty sapce and comma in the string
Posted on 2013-05-26
I have this string like below as my input
string Name ="CATON, DEAN SCOTT"
Am trying to find ,is there any comma in that string and empty string,if there is then eliminate the comma and empty string and truncate the string to Lenght (11).
So my final out put am expecting :CATONDEANSC.
Some one please advise me the best and fastest way to do this.
Thanks in Advance.