Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# get last character of string

string str = "Hello World";
string substr = str.Substring(str.Length - 1);
 
PREVIOUS NEXT
Tagged: #character #string
ADD COMMENT
Topic
Name
4+9 =