StringEach()
Iterates over a string and runs the closure function for each element in the string.
Introduced: 6.0.0.105
StringEach( string=string, closure=function );
Returns: void
Examples
inputString = "abcd";
stringEach(inputString,
function(val) {
writeoutput(val == "c");
}
);
See also
- string.each()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)