how to display apostrophe in string

Pallavi26
Kilo Explorer

I am trying to display apostrophe in the below string, it is working fine on desktop but not on mobile app

gs.addInfoMessage("Thank you - we\'ll take a look and see what we can do to help");

Please help

6 REPLIES 6

scott barnard1
Kilo Sage

gs.addInfoMessage("Thank you - we"+"'"+"ll take a look and see what we can do to help");

scott barnard1
Kilo Sage

But if it's just an info message putting it into a message may be easier

 

gs.addInfoMessage(getMessage("Thank you - we'll take a look and see what we can do to help"));

Pallavi26
Kilo Explorer

Neither of the above solutions worked...Scott i think you have noticed it need to be worked in mobile app..thnx

scott barnard1
Kilo Sage

strange

Are you using the mobile app on android or iOS also is it the app you are using or going to the URL on the device browser?