Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

get last 4 character c#

string mystring = "Hellopeople";
string lastFour =  mystring.Substring(mystring.Length - 4 , 4);

Console.WriteLine(lastFour);
Source by reactgo.com #
 
PREVIOUS NEXT
Tagged: #character
ADD COMMENT
Topic
Name
4+4 =