Javatpoint Logo
Javatpoint Logo

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:


MySQL String RIGHT() Function

Example 2

Output:


MySQL String RIGHT() Function
Next TopicMySQL String





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA