Hello Community,
I got a problem. I have a phone number of a customer and it has brackets in it so for example: 0394(897)543 . that’s not how my API understands it, so I have to remove both brackets. How do I do that? the ) is always seen as a closing bracket for replace or other commands.
Hello @Praktikant,
Welcome to the community.
As per your given information try this.
Let me know if it works.
Thanks for your answer, but make just wants to keep looking at the ) as a closed bracket all the time. You can see in the screenshot how it looks for me.
if you want to remove all the brackets and just get the numbers to pass it to the API then you can use parseNumber function
which will remove all characters ang provide just the numbers present as the output
Wow thanks for the answer, that was the solution! Now I just have to write a 0 in the first place of the number
Hello @Praktikant,
This is just a syntax issue while you use make functions.
That’s the rule of using functions in make. just type proper ; in between multiple parameters and also type ) at the end.