Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

indonesia whatsapp formatter javascript

function whatsappFormatter(phone) {
  if (phone.indexOf('08') === 0) {
    phone = '62' + phone.substring(1);
  }
  return phone;
}
 
PREVIOUS NEXT
Tagged: #indonesia #whatsapp #formatter #javascript
ADD COMMENT
Topic
Name
4+2 =