[progress Communities] [progress Openedge Abl] Forum Post: Re: Get Phone Value Using...

  • Thread starter Thread starter Shiva Duriseati
  • Start date Start date
Status
Not open for further replies.
S

Shiva Duriseati

Guest
Hi Jason, Could you please try this? The following code get the phone value without special symbols. var originalPhonenumber=rbv_api.selectQuery("SELECT phoneField FROM ABC where name='xyz'",10); var phoneNumber= originalPhonenumber[0][0].replaceAll("[^0-9]", ""); rbv_api.println(phoneNumber); Regards, Shiva

Continue reading...
 
Status
Not open for further replies.
Back
Top