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 Commands UniBasic GOSUB, ON/GOTO 1-318 UniBasic Commands Reference

GROUP Syntax GROUP(str, delim, start, rtn.num) Description The UniBasic GROUP function extracts the number of continuous groups you specify from the given string. GROUP functions similar to option G of the OCONV Group (G) function (group extraction conversion), but allows any single character, including a system delimiter, null value, number, or minus sign (-) as a delimiter. Another difference is that the start parameter of the GROUP function specifies the starting group to return, while OCONV specifies the number of leading groups to skip. Parameters The following table describes each parameter of the syntax. Parameter Description str Specifies the string from which to extract groups. delim Specifies any ASCII character that delimits groups in the string. start Specifies the first of the groups to return. rtn.num Specifies the number of continuous groups included in the result. If the rtn.num is greater than the number of groups remaining in the string, the function finishes after the entire remaining string is exhausted. GROUP Parameters 1-319

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

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

GOSUB, ON/GOTO<br />

1-318 <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!