I am storing phone number in plain text of 11 characters (ex. 01023456789) from a user input.
Then, I want to display this in (010)1234-5678 format. What I used is :truncated and :truncated from end operators when saving the value.
contact = input contact’s value: truncated from end 8:truncated 4-input contact’s value:truncated from end 4.
Initial storing is fine, but when the data is stored again by making changes, “-” in between is counted and ruins the result.
Is there any smarter way to achieve this?