functx:words-to-camel-case

Turns a string of words into camelCase

Description

The functx:words-to-camel-case function turns a string composed of multiple words (e.g. ‘this is a term”) into a camel-case value (one that uses upper-case letters to start new words, e.g. “thisIsATerm”.

Parameters

Description

arg:string()

the string to modify

Examples

XPath

Results

functx:words-to-camel-case(‘this Is A Term’)

thisIsATerm

functx:words-to-camel-case(‘This is a term’)

ThisIsATerm

Depends On

See Also