Harbour Reference Guide

 

RTRIM()

Remove trailing spaces from a string.

Syntax

RTRIM(<cExpression>) --> cString

Arguments

<cExpression> Any character expression

Returns

<cString> A formated string with out any blank spaced.

Description

This function returns the value of <cString> with any trailing blank removed.

This function is indentical to RTRIM() and the opposite of LTRIM(). Together with LTRIM(),this function equated to the ALLTRIM() function.
Examples
      ? RTrim("HELLO")     //               "HELLO"
      ? RTrim( "" )       //                ""
      ? RTrim( "UA   " )  //                "UA"
      ? RTrim( "   UA" )  //                "   UA"
Tests
      See Examples
Status

Ready

Compliance

This function is Ca-Clipper compilant

Platforms

All

Files

Library is rtl

See Also

 




[Source Forge]

Other Docs Categories

Advantage Database RDD
Array
Binary conversion
Classes
Code Block
Console input
Conversion
Conversion Tools
DOS
Data input and output
Database
Database Tools
Date
Dos Tools
Environment
Error recovery
Events
File management
GT
Harbour Tools
Internal
Low Level
Math
Misc
Miscellaneous
Nation
Object manipulation
Operating System Specific
Parameter Checks
String Tools
Strings
TBrowse Method
TBrowse class
Terminal
Time
Utility
Variable Management

 

Last updated on 2001/07/30