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

Escape Single quote in Visualforce
I'm having issue in escaping a single quote in VisualForce page.
In my output label, I used
{!IF($Profile.Name=="Customer Portal User","My Open Service Requests","Company\'s Open Service Requests")}
The output on my VF page is Company\'s Open Service Requests. Its not escaping the single quote.
I also tried "Company\'\'s Open Service Requests".
Thanks in advance for the help.
Will this not work:
Also see this developerforce posting
http://boards.developerforce.com/t5/Apex-Code-Development/Escape-single-quote-apostrophe-within-a-formula/m-p/355519/highlight/false#M63088
Instead of single Quote you can write '
It will show single quote on visual force page and will not hamper your other code also.
I have used it. It is working fine.