RTRIM

Description

Returns a character expression after it removes leading blanks (RTRIM in Transact-SQL).

Sample Source Pattern

Syntax

RTRIM( string_expression )

Examples

Input:

SELECT RTRIM('LAST TWO BLANK SPACES  ') AS [RTRIM]

Output:

RTRIM                |
---------------------+
LAST TWO BLANK SPACES|

Last updated