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
Contributor III

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