Not at all, if there's better way, by all means. I agree it's rather cumbersome and I will for sure come across other issues.
I came across another issue, probably caused by how I did RegexReplace.
If you have zeros at the end of the number (e.g. 450-444-0000)
The number displays in a weird way.
Like this: (450)-444-0
Post file pls.
Develop games in your browser. Powerful, performant & highly capable.
https://drive.google.com/file/d/1PNc3s3GxJoFAn_cfEOoo0Bfs_cqhWGKY/view?usp=sharing
I found the error, I was saving the phone number blocks into int instead of str.
Now, I have another problem, I seem to be unable to change a valid area code for another valid one (located in an array)
Alternatively, I tried comparing a value through a path in JSON ( in this case, Canada.area, but this didn't work.