Previous Topic: RPT Function--Repeat a String

Next Topic: SECOND Function--Return the Number of Seconds in a Date

RTRIM Function--Remove Trailing Spaces from a String

The RTRIM function eliminates trailing spaces from a source string and returns the result.

Syntax

The RTRIM function has the following format:

RTRIM(source_string)

Parameters

The RTRIM function accepts the following parameter:

source_string (string)

Return Value

The RTRIM function returns a string.

Example

Return_value=RTRIM(' JuanJuan  ' )
Return_value=' JuanJuan'

More information:

LTRIM Function--Remove Leading Spaces in a String


Copyright © 2010 CA. All rights reserved. Email CA about this topic