Returns the specified character expression with all trailing blanks removed.
RTrim( Str )
Where:
Str
Is the character expression from which you want to trim all trailing blanks.
Type Returned:
Character
Objects: Procedure, Transaction, Web Panel, Panel, Data Provider
Generators: .NET, .NET Framework, Java, Ruby (up to GeneXus X Evolution 3), RPG, Visual FoxPro (up to GeneXus X Evolution 3), Apple, Android,
Angular
Returns a character string that results from removing the trailing blanks from the character expression Str.
Note: In Cobol for iSeries this function is ignored because the strings length is fixed.
&Text = RTrim("My character expression ")
// Result of &Text: “My character expression”
Trim function
LTrim function
TrimEnd method