Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
List.RemovePostfix
Removes a postfix text to each entry in the list.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
List | 6.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "List.RemovePostfix"; List; Postfix { ; NoReturnEnding; CaseSensitive } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
List | The list to process. | "Hello¶World" | |
Postfix | The text to remove. | "llo" | |
NoReturnEnding | Pass 1 to have no extra newline character on the end of the returned list. Default is 0 to include one to easily concat lists. | 1 | 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
Remove postfix from list:
MBS( "List.RemovePostfix"; "Hello?¶Other¶World?"; "?")
See also
- Files.List
- List.Remove
- List.RemovePrefix
- QuickList.RemovePostfix
- QuickList.RemovePrefix
- SyntaxColoring.AddContextMenuCommand
- Text.RemovePostfix
Example Databases
Blog Entries
This function checks for a license.
Created 4th March 2016, last changed 4th March 2016
