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: 6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3    Statistic  


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 } )


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.


Returns list or error.


Adds a prefix text to each entry in the list.


Try in one Let statement:

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.

MBS Real Studio Plugins - Nachhilfe in Mendig