Question : c# get last character of string
Answered by : adventurous-antelope-y8ugxvj8l55x
string str = "Hello World";
string substr = str.Substring(str.Length - 1);
Source : | Last Update : Sat, 30 May 20
Question : get last character of string c#
Answered by : frantic-flatworm-ihmytw5crccc
str = str.Substring(str.Length - 1);
Source : | Last Update : Mon, 27 Jul 20
Question : c# get last character of string
Answered by : easy-eel-pf9cqwwnwchn
mystring.Substring(mystring.Length - 4);
Source : https://stackoverflow.com/questions/6413572/how-do-i-get-the-last-four-characters-from-a-string-in-c | Last Update : Thu, 31 Dec 20