Answers for "how can i get last four string in a string in C#"

C#
0

last two characters of string c#

string str = "Hello World";
string substr = str.Substring(str.Length - 2);
Posted by: Guest on July-20-2020

Code answers related to "how can i get last four string in a string in C#"

C# Answers by Framework

Browse Popular Code Answers by Language