11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

TRIMB<br />

Syntax<br />

TRIMB(str.expr)<br />

Description<br />

The <strong>UniBasic</strong> TRIMB function removes any trailing spaces from a string expression.<br />

If UniData does not find any trailing spaces, the string remains unchanged.<br />

Example<br />

In the following example, the program statement removes the trailing spaces from the<br />

variable NAME. This results in NAME = " Zenith, R.".<br />

NAME = " Zenith, R. "<br />

NAME = TRIMB(NAME)<br />

Related <strong>Commands</strong><br />

<strong>UniBasic</strong><br />

TRIM, TRIMF, TRIMS<br />

TRIMB 1-884

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!