| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
Text.RightTrim
Trims whitespace on the right side.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| Text | 14.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "Text.RightTrim"; Text ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| Text | The text to trim. | " Hello " |
Result
Returns text or error.
Description
Trims whitespace on the right side.May remove low ASCII characters like tab, CR, LF and space.
Also removes alt-space and delete character.
This function works on pure text, so any text style is lost.
Examples
Trim hello:
MBS( "Text.RightTrim"; " ¶ Hello ¶ ")
Example result: Hello
Example result: Hello
Release notes
- Version 14.2
- Added Text.LeftTrim and Text.RightTrim functions.
This function is free to use.
Created 10th May 2024, last changed 10th May 2024