Pages
Home
About Me
For Contact
April 15, 2019
How to remove all the formats from Phone Number in Salesforce?
Sample Code:
String num =
'(123) 456-7894'
;
system.debug( num.replaceAll(
'[^0-9]'
,
''
) );
Debug Log:
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment