QuickList.RemovePostfix
-----------------------

Removes a postfix text to each entry in the list.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [List](component_List.md) | [6.1](newinversion61.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "QuickList.RemovePostfix"; ListRef { ; Postfix; ReturnNewList; CaseSensitive } ) 

**MBS**( **"QuickList.RemovePostfix";** /\* Removes a postfix text to each entry in the list. \*/  
**$ListRef**; /\* The reference to the list returned from [QuickList.New](QuickListNew.md) function.e.g. $List \*/   
**$Postfix**; /\* Optional; The text to remove.e.g. "llo" \*/   
**$ReturnNewList**; /\* Optional; Pass 1 to return result as new QuickList.   
This new list must be freed later using [QuickList.Release](QuickListRelease.md) function. Pass 0 (Default) to modify the list in the List1 parameter.e.g. 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.e.g. 0 \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| ListRef | The reference to the list returned from [QuickList.New](QuickListNew.md) function. | $List |  |
| Postfix | The text to remove. | "llo" | Optional |
| ReturnNewList | Pass 1 to return result as new QuickList.    This new list must be freed later using [QuickList.Release](QuickListRelease.md) 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 |

### 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](QuickListNew.md)"; "&gt;Hello&lt;¶&gt;World&lt;");  
e = MBS ("[QuickList.RemovePrefix](QuickListRemovePrefix.md)"; list; "&gt;");  
e = MBS ("QuickList.RemovePostfix"; list; "&lt;");  
r = MBS ("[QuickList.GetList](QuickListGetList.md)"; list);  
d = MBS ("[QuickList.Release](QuickListRelease.md)"; list)  
\]; r)  
### See also

- [List.Remove](ListRemove.md)
- [List.RemovePostfix](ListRemovePostfix.md)
- [List.RemovePrefix](ListRemovePrefix.md)
- [QuickList.GetList](QuickListGetList.md)
- [QuickList.MatchesPostfix](QuickListMatchesPostfix.md)
- [QuickList.New](QuickListNew.md)
- [QuickList.Release](QuickListRelease.md)
- [QuickList.Remove](QuickListRemove.md)
- [QuickList.RemovePrefix](QuickListRemovePrefix.md)

### Blog Entries

- [MBS FileMaker Plugin, version 6.1pr5](https://www.mbsplugins.de/archive/2016-03-06/MBS_FileMaker_Plugin_version_6/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

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

  
[QuickList.RemoveEmptyItems](QuickListRemoveEmptyItems.md) - [QuickList.RemovePrefix](QuickListRemovePrefix.md)

[HTML Version](QuickListRemovePostfix.shtml)