removeCharactersForList

Modified on Fri, 18 Aug 2023

Description

Remove a list of characters from each string in a list

Syntax

removeCharactersForList(array, charactersToRemove)

Parameters

Input ParameterTypeDescription
arrayArrayString list to process
charactersToRemoveArrayList of characters to be removed

Return value

Type
Array<any>

Sample

ExampleResultDescription
removeCharactersForList(["Invoice amount : $[123.45]", "$1234"], ["$, "[", "]"])["Invoice amount : 123.45", "1234"]Remove given set of characters from each string in a list

To view all the List functions, click here.

See Also