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.

ICONV Text Extraction (T)<br />

Syntax<br />

ICONV(str.expr, "T[m,]n")<br />

Description<br />

The ICONV text extraction (T) function extracts a substring from a string. If the<br />

input value or conversion code is invalid, UniData returns the input value.<br />

Note: In BASICTYPE P, ICONV returns an empty string if UDT.OPTIONS 56 is on<br />

and the input value or conversion code is invalid.<br />

Parameters<br />

The following table describes each parameter of the syntax.<br />

Parameter Description<br />

1-363 <strong>UniBasic</strong> <strong>Commands</strong> <strong>Reference</strong><br />

str.expr Indicates a string to be searched.<br />

m Extracts a contiguous string of characters starting from character m.<br />

n Extracts a contiguous string of characters of length n.<br />

ICONV Text Extraction (T) Parameters

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

Saved successfully!

Ooh no, something went wrong!