Answers for "c# get last two characters of string"

C#
1

c# get last two characters of string

var result = str.Substring(str.Length - 2);
Posted by: Guest on September-18-2020

Code answers related to "c# get last two characters of string"

C# Answers by Framework

Browse Popular Code Answers by Language