Introduction MTB Statements File System Compiler Applications Reference Guide Index

Language Structure Data Division I/O Format Division Procedure Division Mnemonics

STRIPR function

Syntax: STRIPR(string-argument)
Discussion: The STRIPR function strips only trailing (right-hand side) blanks from a string expression.

The string-argument may be a string constant, a single-element string variable, a string array element, a string expression, or a string function.

See STRIP and STRIPL.

Example:
A$=STRIPR(B$)
In the above example, the data contained in string variable B$ is stripped of trailing blanks; the result is moved to the string variable A$.