IB Statements/stripr

From CometWiki

Jump to: navigation, search

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$.

Personal tools