Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Removes 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.RemovePrefix"; ListRef { ; Prefix; ReturnNewList; CaseSensitive } )   More


Parameter Description Example Flags
ListRef The reference to the list returned from QuickList.New function. $List
Prefix The text to remove. "H" Optional
ReturnNewList Pass 1 to return result as new QuickList.
This new list must be freed later using QuickList.Release function. Pass 0 (Default) to modify the list in the List1 parameter.
0 Optional
CaseSensitive Whether to match with case sensitive comparison.
Default is 0 for case insensitive.
You can pass 1 to have a case sensitive comparison.
0 Optional


Returns list or error.


Removes a prefix text to each entry in the list.


Try in one let statement:

list = MBS("QuickList.New"; ">Hello<¶>World<");
e = MBS("QuickList.RemovePrefix"; list; ">");
e = MBS("QuickList.RemovePostfix"; list; "<");
r = MBS("QuickList.GetList"; list);
d = MBS("QuickList.Release"; list)
]; r)

See also

Blog Entries

This function checks for a license.

Created 4th March 2016, last changed 14th December 2023

QuickList.RemovePostfix - QuickList.RemoveValue