Selerix Developer Tools
FormatPhone(String) Method






Selerix.Foundation Assembly > Selerix.Foundation.Data Namespace > Utils Class > FormatPhone Method : FormatPhone(String) Method
Phone Number without punctuation
Takes in a phone number as stored in the database and returns the string to be displayed to the user.
Syntax
'Declaration
 
Public Overloads Shared Function FormatPhone( _
   ByVal phone As String _
) As String
'Usage
 
Dim phone As String
Dim value As String
 
value = Utils.FormatPhone(phone)
public static string FormatPhone( 
   string phone
)
public function FormatPhone( 
    phone: String
): String; static; 
public static function FormatPhone( 
   phone : String
) : String;
public: static string* FormatPhone( 
   string* phone
) 
public:
static String^ FormatPhone( 
   String^ phone
) 

Parameters

phone
Phone Number without punctuation

Return Value

Displayable form for the Phone Number
See Also

Reference

Utils Class
Utils Members
Overload List