removeNonAlphaNumericCharactersFromEdgesForList

Modified on Wed, 16 Aug 2023

Description

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

Syntax

removeNonAlphaNumericCharactersFromEdgesForList(array)

Parameters

Input ParameterTypeDescription
arrayArrayString list to process

Return value

Type
Array

Sample

ExampleResultDescription
removeNonAlphaNumericCharactersFromEdgesForList(['#Invoice amount $12.34~', '#123.45$'])['Invoice amount $12.34', '123.45']Removing non-alphanumeric characters(exclusing 0-9, a-z, A-Z) from edges for a list of strings

To view all the List functions, click here.

See Also