You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Parse number with country code and keep raw input.
const number = phoneUtil.parseAndKeepRawInput('23407012341234', 'NG');
// Print the phone's country code.
console.log('Country Code', number.getCountryCode());
console.log('National Number', number.getNationalNumber());
the values are 234 and 23407012341234, as you can notice the country code gets duplicated
the correct result should be 234 and 7012341234
The text was updated successfully, but these errors were encountered: