Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2   9.3    Statistic  


Adds a prefix text to each entry in the list.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
List 6.1 Yes Yes Yes Yes Yes
MBS( "QuickList.AddPrefix"; ListRef; Prefix { ; ReturnNewList } )   More


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

Blog Entries

Created 4th March 2016, last changed 5th June 2016

QuickList.AddPostfix   -   QuickList.AddQuickList

Feedback: Report problem or ask question.

MBS Xojo Plugins