removeNonNumericCharactersForList

Modified on Fri, 18 Aug 2023

Description

Remove non-numeric characters (excluding digits) from each string in a list

Syntax

removeNonNumericCharactersForList(array)

Parameters

Input ParameterTypeDescription
arrayArrayString list to process

Return value

Type
Array<any>

Sample

ExampleResultDescription
removeNonNumericCharactersForList(['Invoice Id. 1234', '123.45'])['1234', '12345']Remove all non-numeric characters for each string in a list

To view all the List functions, click here.

See Also