Compartir a través de


RTRIM( ) Function

Returns a character string that results from removing the trailing blanks from a character expression.

RTRIM(cExpression)

Return Values

Character

Parameters

  • cExpression
    Specifies the character expression from which trailing blanks are trimmed.

Remarks

RTRIM( ) can be used to ensure that blanks are removed from data entered by a user. RTRIM( ) is identical to TRIM( ).

Example

CLOSE DATABASES
OPEN DATABASE (HOME(2) + 'Data\testdata')
USE customer  && Opens Customer table
CLEAR
? 'The contact for '+ RTRIM(company) + ' is ' + contact

See Also

ALLTRIM( ) Function | LTRIM( ) Function | TRIM( ) Function