Matt
7 years agoNew Contributor
Removing leading characters
I’m receiving data with 18 characters, which includes 7 leading 0s. Would I use the Mapper to TRIM off the leading 0s? If so how would I go about this?
Thank you
Hi @cjhoward18 ,
How can I extract number only from a string
My input is FR4535345, fgfh345
My out put should be 4535345,345
Is there any find index of a first digit in a string in snaplogic?
Hi @the_pan_zone,
You can use the .match()
function with the following regex included:
$string.match(/[0-9]+/g)