Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3    Statistic    FMM    Blog  


Adds a prefix text to each entry in the list.

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


Parameter Description Example Flags
ListRef The reference to the list returned from QuickList.New function. $List
Prefix The text to prepend. "!"
ReturnNewList 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 Optional


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 Chart Plugins

Start Chat