StringFilter

Filters all the elements in a string according to a specified callback

Method Signature

StringFilter(list=[string], filter=[function:Predicate], delimiter=[string], includeEmptyFields=[boolean], multiCharacterDelimiter=[boolean], parallel=[boolean], maxThreads=[any], virtual=[boolean])

Arguments

Argument
Type
Required
Description
Default

list

string

true

filter

function:Predicate

true

delimiter

string

false

,

includeEmptyFields

boolean

false

false

multiCharacterDelimiter

boolean

false

false

parallel

boolean

false

false

maxThreads

any

false

virtual

boolean

false

false

Examples

Full function

Return only the letters in the string that meet the callback condition.

Run Example

Result: zzZ

Member function

Return only the letters in the string that meet the callback condition.

Result: zzZ

Additional Examples

Run Example

Last updated

Was this helpful?