Splits phone in parts and returns those parts.
Syntax
'Declaration
Public Shared Function GetPhoneParts( _
ByVal As String, _
ByRef As String, _
ByRef As String, _
ByRef As String, _
ByRef As String _
) As Boolean
'Usage
Dim phone As String
Dim countryCode As String
Dim areaCode As String
Dim localNumber As String
Dim extension As String
Dim value As Boolean
value = Utils.GetPhoneParts(phone, countryCode, areaCode, localNumber, extension)
public static bool GetPhoneParts(
string ,
out string ,
out string ,
out string ,
out string
)
public function GetPhoneParts(
: String;
Out : String;
Out : String;
Out : String;
Out : String
): Boolean; static;
public static function GetPhoneParts(
: String,
: String,
: String,
: String,
: String
) : boolean;
public: static bool GetPhoneParts(
string* ,
[PARAMFLAG::Out] string* ,
[PARAMFLAG::Out] string* ,
[PARAMFLAG::Out] string* ,
[PARAMFLAG::Out] string*
)
public:
static bool GetPhoneParts(
String^ ,
[Out] String^ ,
[Out] String^ ,
[Out] String^ ,
[Out] String^
)
Parameters
- phone
- Phone number
- countryCode
- Country code
- areaCode
- Area code
- localNumber
- Local number
- extension
- Extension
See Also