Sets a format for the List() function
SDK version:
Product:
Class:
Warning
uCalc API Preview Release Notice:This preview documentation describes the intended behavior of the API. It is not fully accurate or complete.The current preview build contains incomplete features, unoptimized performance, and is subject to breaking changes.Use of the preview version in your production code is not recommended.
This sets a format that determines how the value of Str() is returned. Separator will be inserted between each match; Prefix will be added before the string; Postfix is appended at the end of the string. UserFunc determines how each match is displayed. Element is the name of the variable to use in the function (x by default). Index is the name of the current match (Index by default). Count is the number of matches (Count by default).
For instance: Given this list of matches: "a", "b", "c", "d" ListOfChars().ListFormat(", ", "{", "}", "$' of :'").Str() would return: {1 of 4:a, 2 of 4:b, 3 of 4:c, 4 of 4:d}
This page last modified on: