Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   Crossplatform   Server (Not)   Client   Components   Old   Guides
New in version: 5.0   5.1   5.2   5.3   5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1    Statistic  

QuickList.New

Creates a new list.

Component: List
Version: 4.4
Mac OS X: Yes
Windows: Yes
Server: Yes
FileMaker Cloud: Yes

MBS( "QuickList.New" { ; Text; Separator } )

Parameters

Parameter Description Example value
Text Optional
Initial list content.
"Hello¶World¶Test"
Separator Optional
The separator to use. Can be ASCII character number (e.g. 9 for tab) or a text where we use first character as separator.
"|"

Result

Returns OK or error.

Description

Creates a new list.
You can provide whatever separator you need. Default is new line characters. But works also fine with comma, semicolon or tab characters.
Please use QuickList.Free to release the list later.
QuickList reference numbers are starting at 12000 and counting up for each new list.

Examples

Creates new list:

MBS( "QuickList.New"; "Hello¶World¶Test" )

Create list with | as separator:

MBS("QuickList.New"; "Hello|World"; "|")

See also


QuickList.MatchesSubString   -   QuickList.Not

Feedback: Report problem or ask question.




Links
MBS REALbasic Plugins - Nachhilfe in Kruft