Convert a chain of numbers in a valid format to use as WhatsApp number
What is the problem & what have you tried?
I am using the substring function to convert a chain of numbers in a valid format to use as a WhatsApp number, but it is not working. I am using the correct function? Or does the substring function work only with text? In my exact case, I need to add the prefix (549) at the beginning of the phone number (Ex: 1140935678), achieving this result (5491140935678). For some reason, the function isn’t converting the number. It always returns the same value in the output. Thanks!
What does the input string look like? If its a phone number already, then you can use the Parse a phone number module to convert it in several formats, the international one should work for whatsapp.