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

QuickList.RemovePostfix

Removes a postfix 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.RemovePostfix"; ListRef; Postfix { ; ReturnNewList; CaseSensitive } )

Parameters

Parameter Description Example value
ListRef The reference to the list returned from QuickList.New function. $List
Postfix The text to remove. "llo"
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
CaseSensitive Optional
Whether to match with case sensitive comparison.
Default is 0 for case insensitive.
You can pass 1 to have a case sensitive comparison.
0

Result

Returns list or error.

Description

Removes a postfix text to each entry in the list.

Examples

Try in one let statement:

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

See also


QuickList.RemoveEmptyItems   -   QuickList.RemovePrefix

Feedback: Report problem or ask question.




Links
MBS REAL studio tutorial videos - Pfarrgemeinde St. Arnulf Nickenich