Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

last two characters of string c#

string str = "Hello World";
string substr = str.Substring(str.Length - 2);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #characters #string
ADD COMMENT
Topic
Name
9+8 =