143
MySQL RIGHT() Function
The Right() is a String function of MySQL. This method returns allows you to extract a substring from a string, starting from the right side of the string.
Syntax
Parameters
Str: string to be extracted.
Len: length of character to be extracted.
Returns
This function will return the string if the number of character exceeds the length of the string.
Example 1
Output:
Example 2
Output:
Next TopicMySQL String