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.

TRIMF<br />

Syntax<br />

TRIMF(str.expr)<br />

Description<br />

The <strong>UniBasic</strong> TRIMF function removes any leading spaces from the string<br />

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

unchanged.<br />

Example<br />

In the following example, the program segment removes the leading spaces from the<br />

variable NAME, storing the resulting string. This results in "Zenith, R. ".<br />

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

NAME = TRIMF(NAME)<br />

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

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

TRIM, TRIMB, TRIMS<br />

1-885 <strong>UniBasic</strong> <strong>Commands</strong> <strong>Reference</strong>

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

Saved successfully!

Ooh no, something went wrong!