removeNonNumericCharacters

Modified on Wed, 16 Aug 2023

Description

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

Syntax

removeNonNumericCharacters(text)

Parameters

Input ParameterTypeDescription
textstringString to process

Return value

Type
string

Sample

ExampleResultDescription
removeNonNumericCharacters('Invoice Id. 1234')'1234'Remove all non-numeric characters
removeNonNumericCharacters('123.45')'12345'Remove all non-numeric characters

To view all the String functions, click here.

See Also