removeNonAlphaNumericCharactersFromEdges

Modified on Wed, 16 Aug 2023

Description

Remove non-alphanumeric characters (excluding letters and digits) from the edges of a string

Syntax

removeNonAlphaNumericCharactersFromEdges(text)

Parameters

Input ParameterTypeDescription
textstringString to process

Return value

Type
string

Sample

ExampleResultDescription
removeNonAlphaNumericCharactersFromEdges('#Invoice amount $12.34~')'Invoice amount $12.34'Removing non-alphanumeric characters (excluding 0-9, a-z, A-Z) from edges

To view all the String functions, click here.

See Also