How to utilize substring functions to use in variables in scripting

How to utilize substring functions to use in variables in scripting.
Scripter Variable : {{Scripter.Customer Formatted Number}}` —customer’s formatted phone number.

Example: +13175550116

If you create a phone number from ToPhoneNumber(“+13175550116″),
you get: tel:+13175550116”
We need to get like subscriberNumber Only “3175550116”

Assuming this is from an inbound call that passes through Architect where you're doing the ToPhoneNumber, you can just get the subscriber portion set in Architect itself and pass that through:

ToPhoneNumber("tel:+13175550116").subscriberNumber

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.