I want to remove last three characters from a string:
string myString = \"abcdxxx\";
Note that the string is dynamic data.
myString.Remove(myString.Length-3);