Text display of single quote
RicardoSiqueira
Junior Member
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!
Comments
-
RicardoSiqueira wrote: »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!
Escape it with another ' like this:Cameron''s
That's two single quotes not one double quote after the n in Cameron. -
Thanks, Joe Hebert! You've saved my day!
Leave a Comment
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums