c# get last 3 characters of string

71

c# get last two characters of string -

var result = str.Substring(str.Length - 2);

Comments

Submit
0 Comments