cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Camel Case in Snaplogic

subhash_a_chand
New Contributor

How can we convert the string in Camel Case in mapper ?

7 REPLIES 7

cstewart
Former Employee

In the expression language from the May 2019 (4.17) release you can.
See https://docs-snaplogic.atlassian.net/wiki/spaces/SD/pages/1439357/String+Functions+and+Properties#St...

Hi cstwart,
I found this documentation but looks like its not incorporated in mapper as we get โ€œmethod not found errorโ€.

petar_rajchinos
New Contributor III

Hi cstwart,

In order to use the new features you should probably upgrade your snaplex to the newest version.

jovan_j
New Contributor III

Hi cstwart,

You could also use the following expression: โ€œtest upper caseโ€.replace(/\b\w/g, chr => chr.toUpperCase())
image