UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software UniBasic Commands Reference - Rocket Software

rocketsoftware.com
from rocketsoftware.com More from this publisher
11.04.2013 Views

Related Command UniBasic OCONV Group (G) 1-341 UniBasic Commands Reference

ICONV Length (L) Syntax ICONV(str.expr, "Ln[,m]") Description The ICONV length (L) function extracts a string of a specified length or that falls within a range of acceptable lengths. If the input value or conversion code is invalid, UniData returns the input value. Note: In BASICTYPE P, ICONV returns an empty string if UDT.OPTIONS 56 is on and the input value or conversion code is invalid. Parameters The following table describes each parameter of the syntax. Parameter Description str.expr Indicates a string to be searched. L Length conversion code. n Specifies the number of characters the string must match to be extracted. When m is present, n is the shortest string to be extracted. m Specifies the longest string to be extracted. ICONV (L) Conversion Parameters ICONV Length (L) 1-342

ICONV Length (L)<br />

Syntax<br />

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

Description<br />

The ICONV length (L) function extracts a string of a specified length or that falls<br />

within a range of acceptable lengths. If the input value or conversion code is invalid,<br />

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 />

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

L Length conversion code.<br />

n Specifies the number of characters the string must match to be extracted.<br />

When m is present, n is the shortest string to be extracted.<br />

m Specifies the longest string to be extracted.<br />

ICONV (L) Conversion Parameters<br />

ICONV Length (L) 1-342

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

Saved successfully!

Ooh no, something went wrong!