Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
11.4
11.5
12.0
12.1
12.2
12.3
12.4
12.5
13.0
13.1
Statistic
FMM
Blog
Text.RemovePrefix
Removes the prefix from text.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Text | 6.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
Text | The text to check. | ">Hello World" | |
Prefix | The prefix to remove. | ">" | |
CaseSensitive | Pass 1 to check case sensitive. Default is 0 for case insensitive. |
0 | Optional |
Result
Returns text.
Description
Removes the prefix from text.This function works on pure text, so any text style is lost.
Examples
Removes prefix:
MBS( "Text.RemovePrefix"; ">Hello World"; ">")
Creates directory and shows error:
Set Variable [$r; Value:MBS("Files.CreateDirectory"; $path)]
If [MBS("IsError")]
Show Custom Dialog ["Failed to create directory"; MBS("Text.RemovePrefix"; $r; "[MBS] ")]
Exit Script []
End If
Remove apple:
MBS( "Text.RemovePrefix"; "🍎🍓🍒"; "🍎")
Example result: 🍓🍒
See also
- AVExport.ExportAsynchronously
- Events.AuthorizationStatusForEntityType
- Events.RequestAccessToEntityType
- ImageCapture.OpenDevice
- ImageCapture.RequestScan
- ImageCapture.RequestSelectFunctionalUnit
- ImageCapture.SetParameter
- List.RemovePrefix
- QTExport.OpenExporter
- RSA.Verify
Example Databases
- CURL/Email/Email Parser and Preview
- CURL/Email/IMAP Email
- Encryption and Hash/RSA Sign and Verify
- Mac and iOS/Events/Events Changes
- Mac and iOS/Events/Events Create Event
- Mac and iOS/Events/Events Create Reminder
- Mac and iOS/Events/Events Import
- Mac and iOS/Events/Events Sync
- Mac only/ImageCapture/ImageCapture
- Mac only/Movies/AVAsset Export Session
Blog Entries
- Print WebViewer on macOS in FileMaker
- ImageCapture functions for Mac OS X
- MBS FileMaker Plugin, version 6.1pr4
This function does not need a paid license.
Created 28th February 2016, last changed 31st January 2023
