/
charSwap

charSwap



Function: charSwap()

Will swap successive pairs of characters.

Syntax

charSwap(value)

ArgumentTypeDescription
valueStringA string of characters to be swapped.

Examples

charSwap(in.value)

Returns the string "21435" where the attribute in.value contains a string "12345".

See Also

Related content

levDistance
levDistance
Read with this
charSwap
charSwap
More like this
Functions
Functions
Read with this
charSwap
charSwap
More like this
matches
matches
Read with this
charSwap
charSwap
More like this