Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
List.CountValues
Counts values in list.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
List | 8.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "List.CountValues"; List ) More
Parameters
Parameter | Description | Example |
---|---|---|
List | The list to process. | "Hello" ¶ "" ¶ "World" |
Result
Returns list or error.
Description
Counts values in list.The result contains count, tab and the word and is not sorted.
Examples
List values:
MBS( "List.CountValues"; "Hello¶World¶Hello" )
Example result:
1 World
2 Hello
See also
Release notes
- Version 10.4
- Added prefix/postfix operator for List.IndexOfFirstValueMatching, QuickList.IndexOfFirstValueMatching, List.CountValuesMatching and QuickList.CountValuesMatching.
- Version 10.3
- Added numeric mode for List.CountValuesMatching, List.IndexOfFirstValueMatching, QuickList.CountValuesMatching and QuickList.IndexOfFirstValueMatching functions.
- Version 10.2
- Version 8.1
- Added Text.ListWords, List.CountValues and Text.CountWords functions.
Example Databases
Blog Entries
This function checks for a license.
Created 5th February 2018, last changed 5th February 2018