MySQL RTRIM() Function

The Rtrim() is a String function of MySQL. This method removes the extra space if present in the tail of the string.

Syntax

Parameters

Str: string for which extra space is to be removed from the tail.

Example 1

Output:


MySQL String RTRIM() Function

Example 2

Output:


MySQL String RTRIM() Function
Next TopicMySQL String




Latest Courses