Strips any national prefix (such as 0, 1) present in the number provided.
public maybeStripNationalPrefixAndCarrierCode ( string &$number, |
||
$number | string | the normalized telephone number that we wish to strip any national dialing prefix from |
$metadata | the metadata for the region that we think this number is from | |
$carrierCode | string | a place to insert the carrier code if one is extracted |
return | boolean | true if a national prefix or carrier code (or both) could be extracted. |