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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
List.RemovePrefix
Removes a prefix text to each entry in the list.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| List | 6.1 | Yes | Yes | Yes | Yes | Yes |
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| List | The list to process. | "Hello¶World" | |
| Prefix | The text to remove. | "H" | |
| 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 prefix text to each entry in the list.Examples
Remove prefix from list:
MBS( "List.RemovePrefix"; "testHello¶Other¶testWorld"; "test")
List files with relative paths:
MBS( "List.RemovePrefix"; MBS( "Files.ListRecursive"; "/Users/Shared/"); "/Users/Shared/")
See also
- Files.List
- Files.ListRecursive
- List.Remove
- List.RemovePostfix
- QuickList.RemovePostfix
- QuickList.RemovePrefix
- Text.RemovePrefix
Blog Entries
Created 4th March 2016, last changed 27th April 2019
List.RemovePostfix - List.RemoveValue
Feedback: Report problem or ask question.
Links
MBS FileMaker blog