Table of Content
HAL Forum
function string NormalizePhoneNumber (
string PhoneNr)
Description:
Strips the phone number from any excessive data - leaving only the numbers. Used is phone numbers are inserted into search indexes, etc.
Parameters:
PhoneNr Phone number with a messy format
global
procedure OnApplicationStartup() 
begin
  
  // Will return: 5556132222
  stopalert(NormalizePhoneNumber("+55 561 322-22"));

  return;
end;
Related topics:
««