listEach
4

Overview ColdFusion Open BlueDragon Lucee

call the given UDF/Closure with every value in the string list.

Attributes

Name Required Type Default Description
4
closure No function/closure that implements the following constructor [function(any value, numeric index,string list, string delimiter):void].
4
delimiter No delimiter used to separate the string list
4
includeEmptyFields No include empty fields or not
4
list No string list to iterate
4
maxThreads No maximum number of threads executed, ignored when argument "parallel" is set to false
4
multiCharacterDelimiter No specifying whether the delimiters parameter specifies a multi-character delimiter. If this parameter is true, the delimiters parameter must specify a single delimiter consisting of multiple characters. This parameter enables the ListToArray function to convert a list such as the following to an array of color names: red:|orange:|yellow:|green:|blue:|indigo:|violet.
4
parallel No execute closures parallel