Home » MySQL String RIGHT() Function

MySQL String RIGHT() Function

by Online Tutorials Library

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

You may also like