Hello guys!
I Have a poblem here. I have a number that has 13 letters. The format is like that “5514925563223”.Whats I need to do is remove the 5 letters, in this case, the number 9, to look like “551425563223”.
How can I do so?
Hello guys!
I Have a poblem here. I have a number that has 13 letters. The format is like that “5514925563223”.Whats I need to do is remove the 5 letters, in this case, the number 9, to look like “551425563223”.
How can I do so?
Best answer by ken.aBest answer by ken.a
Hey there
I’m jumping here to see if I can help!
I did some digging into this, and it seems like we can use Code by Zapier (Run Javascript) to achieve this workflow:
Here’s the code that you can try:
// Assuming your input is in the input field named "input_number"
var input_number = inputData.input_number;
var output_number = input_number.slice(0, 4) + input_number.slice(5);
// The result will be in the output field named "output_number"
return {output_number: output_number};
Here’s that in action:
Hopefully, this helps! 😊
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.