i am taking input string from user,
for ex user input "welcome"
now i want to remove this "w" and attach to the last of the string so the newly created word become "elcomew" and i want to do every time user click on a button in a webpage... and first character should remove and attached to the last .. can anybody give solution with code...
How to removr character from the user inputed string and join to the last of the string in asp.net
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Blocked AccountRank #403 · 6.2K reputationPosted Nov 20, 2008, 8:15 PM EST
use this for doing that.
string str = "welcome";
string newString = str.Substring(1, str.Length - 1) + str.Substring(0, 1);