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

Replace
HI All,
string res = 'I ' m a Apex Dev.';
how to replace single quote(') to \'.
this value send to visual force page javascript validations.
Regards
Ravi
You need to sign in to do that
Don't have an account?
HI All,
string res = 'I ' m a Apex Dev.';
how to replace single quote(') to \'.
this value send to visual force page javascript validations.
Regards
Ravi
You can (') replace with (\') in apex class as follows.
-Suresh
All Answers
You can (') replace with (\') in apex class as follows.
-Suresh
Thanks SSRS2.
You rox. I also was looking for a solution for this issue.:smileyhappy: