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.Remove
Removes the value with the given index in the list.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| List | 7.1 | Yes | Yes | Yes | Yes | Yes |
MBS( "List.Remove"; List; Index ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| List | The list to process. | "Hello" ¶ "" ¶ "World" |
| Index | The index of the item to remove. Range from 0 to QuickList.Count-1. | 0 |
Result
Returns list or error.
Description
Removes the value with the given index in the list.Returns a new list where the value is missing.
For big lists, using QuickList functions is much faster. The list is only parsed once and stored in memory.
Examples
Remove an entry:
MBS( "List.Remove"; "Hello¶World¶Test"; 1 )
Example result:
Hello
Test
See also
- List.FindDuplicateItems
- List.RemoveEmptyItems
- List.RemovePostfix
- List.RemovePrefix
- List.RemoveValue
- QuickList.Count
- QuickList.FindDuplicateItems
- QuickList.RemovePostfix
- QuickList.RemovePrefix
- SyntaxColoring.AddContextMenuCommand
Release notes
- Version 10.4
- Added RemoveAll and ReturnNewList parameters to QuickList.RemoveDuplicateItems function.
- Version 9.0
- Changed List.RemoveValue and QuickList.RemoveValue to not report error if value is not found.
- Version 7.1
Created 11st March 2017, last changed 18th December 2020
List.RegExMatch - List.RemoveDuplicateItems
Feedback: Report problem or ask question.
Links
MBS Xojo PDF Plugins