StringEach

Iterates all the elements in a string and runs the passed callback on each character

Method Signature

StringEach(list=[string], callback=[function:Consumer], delimiter=[string], includeEmptyFields=[boolean], multiCharacterDelimiter=[boolean], parallel=[boolean], maxThreads=[any], ordered=[boolean], virtual=[boolean])

Arguments

Argument
Type
Required
Description
Default

list

string

true

callback

function:Consumer

true

The callback to execute

delimiter

string

false

,

includeEmptyFields

boolean

false

false

multiCharacterDelimiter

boolean

false

false

parallel

boolean

false

false

maxThreads

any

false

ordered

boolean

false

false

virtual

boolean

false

false

Examples

Full function

Run Example

Result: NONOYESNONO

Member function

Result: NONOYESNONO

Additional Examples

Run Example

Last updated

Was this helpful?