MySQLString FunctionsRTRIM
LTRIM

RTRIMString Functions

REPLACE

Removes trailing spaces from a string.

Syntax

RTRIM(str)

Example

Enter values below to update the example in real time.

full_name
contacts
SELECT RTRIM(full_name) AS full_name FROM contacts;