Text display of single quote
RicardoSiqueira
Posts: 373
I haven't done this in a while. Is there a way to display a single quote inside a text message sent to a touch panel. I need to show the text: Cameron's Sat on a text box in AMX touch panels, but since the single quote is used to define the start and end of the text message. Is there a way around it?
Here is my command:
SEND_COMMAND vTPFamily, "'@TXT',1,'Camerons Sat'"
But somehow I need to be:
SEND_COMMAND vTPFamily, "'@TXT',1,'Cameron's Sat'" * When I add the ' it ends the message and I get an error
Any ideas? Thanks!
Here is my command:
SEND_COMMAND vTPFamily, "'@TXT',1,'Camerons Sat'"
But somehow I need to be:
SEND_COMMAND vTPFamily, "'@TXT',1,'Cameron's Sat'" * When I add the ' it ends the message and I get an error
Any ideas? Thanks!
0
Comments
Escape it with another ' like this:
That's two single quotes not one double quote after the n in Cameron.