Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Text.RemovePostfix
Removes the postfix from text.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Text | 6.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "Text.RemovePostfix"; Text; Postfix { ; CaseSensitive } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
Text | The text to check. | ">Hello World" | |
Postfix | The postfix to remove. | ">" | |
CaseSensitive | Pass 1 to check case sensitive. Default is 0 for case insensitive. |
0 | Optional |
Result
Returns text.
Description
Removes the postfix from text.This function works on pure text, so any text style is lost.
Examples
Removes postfix:
MBS( "Text.RemovePostfix"; "Hello World>"; ">")
Example result: Hello World
Remove cherry:
MBS( "Text.RemovePostfix"; "🍎🍓🍒"; "🍒")
Example result: 🍎🍓
See also
Example Databases
Blog Entries
This function is free to use.
Created 28th February 2016, last changed 31st January 2023