You need to sign in to do that
Don't have an account?

Passing Phone number without paranthesis
Hi Friends, NEED help ASAP. Please.
I am trying to make a code change. Just one line.
While passing a phone number, earlier we were passing all dashes as blanks. Now we need to exclude paranthesis as well.
i.e. (904) 111-2244 should be passed as 9041112244
How can i acieve this?
My old code is this.
?CaseRecord.Phone__c.replaceAll('-',''):'');
If i give double quotes as per some developer form suggestions, I get "No viable characterr "" error"
I am trying to make a code change. Just one line.
While passing a phone number, earlier we were passing all dashes as blanks. Now we need to exclude paranthesis as well.
i.e. (904) 111-2244 should be passed as 9041112244
How can i acieve this?
My old code is this.
?CaseRecord.Phone__c.replaceAll('-',''):'');
If i give double quotes as per some developer form suggestions, I get "No viable characterr "" error"