get last three characters of string c# code example
Example: last two characters of string c#
string str = "Hello World";
string substr = str.Substring(str.Length - 2);
string str = "Hello World";
string substr = str.Substring(str.Length - 2);