Synopsis:
tail=strend(str,count)
Arguments:
str - The string whose last count characters to return.
count - the number of characters to return at the end of the string
Description: This function returns the tail end of the specified string str as defined by the argument count. If count is more than the number of characters in the string then the entire string will be returned.
For example:
string="the cat sat on the mat"
// This will return "mat"
tail=strend(string,3);
// This will return "on the mat"
tail=strend(string,10);
// This will return "the cat sat on the mat"
tail=strend(string,200);
Returns: Returns the tail end of the string str with the number of characters specified by count.