Need help with manipulating some string
ok so I have a string, let's say..
string s="My Page";
Now I want to manipulate this string s and make开发者_如何学运维 it "mypage" i.e. all small letters and no spaces in between and then store this value in another string. How can I do this ?
Try something like this:
s = s.ToLower().Replace(" ", "");
s = s.ToLower().Replace(" ", "");
精彩评论