I want to remove last three characters from a string:
string myString = \"abcdxxx\";
Note that the string is dynamic data.
myString.Substring(myString.Length - 3, 3)
Here are examples on substring.>>
http://www.dotnetperls.com/substring
Refer those.