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:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Returns list with all keys matching postfix.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Dictionary | 11.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
DictionaryRef | The reference number to the dictionary. | $dic |
Postfix | The postfix text | ".length" |
Returns list or error.
Try it:
Let([
// create a dicitonary
dic = MBS( "Dictionary.Create");
// fill in some values:
t = MBS( "Dictionary.SetValueForKey"; dic; "person.123.firstname"; "John" );
t = MBS( "Dictionary.SetValueForKey"; dic; "person.123.lastname"; "Miller" );
t = MBS( "Dictionary.SetValueForKey"; dic; "person.456.firstname"; "Tom" );
t = MBS( "Dictionary.SetValueForKey"; dic; "person.456.lastname"; "Smith" );
// and query keys:
r = MBS( "Dictionary.KeysWithPostfix"; dic; ".lastname" )
]; r)
Example result:
person.456.lastname
person.123.lastname
This function checks for a license.
Created 18th July 2021, last changed 19th July 2021