Preserving part of a token
Posted: Thu Apr 23, 2015 12:48 am
We are seeking to standardize phone numbers, which sometimes have an international direct dialling prefix (001 or 011) as part of a contiguous string.
Is there some way in PAL that we can extract these digits and keep only the remainder?
For example, assuming a wholly numeric token, 00161299556022, the IDD code is 011, the country code is 61, the area code is 2 and the remainder is the line number, and may have variable length (6-8 digits).
We can extract the first three digits using something like [1](1:3) but how can we keep the remainder, the length of which is variable?
Thank you for your time.
Is there some way in PAL that we can extract these digits and keep only the remainder?
For example, assuming a wholly numeric token, 00161299556022, the IDD code is 011, the country code is 61, the area code is 2 and the remainder is the line number, and may have variable length (6-8 digits).
We can extract the first three digits using something like [1](1:3) but how can we keep the remainder, the length of which is variable?
Thank you for your time.