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

QuickList.AddPrefix

Adds a prefix text to each entry in the list.

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

MBS( "QuickList.AddPrefix"; ListRef; Prefix { ; ReturnNewList } )

Parameters

Parameter Description Example value
ListRef The reference to the list returned from QuickList.New function. $List
Prefix The text to prepend. "!"
ReturnNewList Optional
Pass 1 to return result as new QuickList. This new list must be freed later using QuickList.Free function. Pass 0 (Default) to modify the list in the List1 parameter.
0

Result

Returns list or error.

Description

Adds a prefix text to each entry in the list.

Examples

Try in one Let statement:

Let([
list = MBS("QuickList.New"; "Hello¶World");
e = MBS("QuickList.AddPrefix"; list; ">");
e = MBS("QuickList.AddPostfix"; list; "<");
r = MBS("QuickList.GetList"; list);
d = MBS("QuickList.Free"; list)
]; r)

See also


QuickList.AddPostfix   -   QuickList.AddQuickList

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins - Pfarrgemeinde St. Arnulf Nickenich