Warning: Do not use this method for do-your-own formatting - for some regions, the national dialling prefix is used only for certain types of numbers. Use the library's formatting functions to prefix the national prefix when required.
public getNddPrefixForRegion ( string $regionCode, boolean $stripNonDigits ) : string | ||
$regionCode | string | the region that we want to get the dialling prefix for |
$stripNonDigits | boolean | true to strip non-digits from the national dialling prefix |
return | string | the dialling prefix for the region denoted by regionCode |