Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add GetNationalPrefix method #164

Closed
wants to merge 1 commit into from
Closed

Conversation

lawlielt
Copy link

@lawlielt lawlielt commented May 7, 2024

Now that we are able to obtain the area code, but there is no method available to retrieve the national prefix. When displaying the area code and number separately to users, we hope to add the national prefix to the area code to facilitate users in obtaining customary telephone information.

@rowanseymour
Copy link
Member

What's equivalent in https://github.com/google/libphonenumber ? We're trying to keep this a port of that library.

@lawlielt
Copy link
Author

lawlielt commented May 8, 2024

What's equivalent in https://github.com/google/libphonenumber ? We're trying to keep this a port of that library.

the GetNddPrefixForRegion method can do the same. :)

@lawlielt lawlielt closed this May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants