Skip to main content

Hi,

I want to format a number and get only the 10 first digits starting from the right (it would be similar to what you can do with the Formula “RIGHT” in Excel or Google Sheet.

Basically i got this number: 12345678999 and I want to get: 2345678999

It’s important to remark that the original number (12345678999) could have different len (20 digits, 15, digits, 10...)

I’ve tried with the spreadsheet style formula zap but it doesn’t work. 

 

Thanks for your help!

Hi @Fer 
This could easily be accomplished with a code step. Use Code by Zapier then run javascript. 

let number = inputData.number.slice(-10);

return {number}

 


Hey @Fer, hope you’re doing well, I just wanted to check in here!

Were you able to get things working with the information shared by GetUWired?