Anytime Help Center

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Support
  • Guest
  • Log In
English (US)
US English (US)
DE German
CN Chinese
MX Spanish (Mexico)
Chinese (Simplified)
  • AKG
    Microphones Wireless Integrated Systems Automatic Mixers Headphones Discontinued Products (AKG) General AKG Inquiries Certifications (AKG)
  • AMX
    Networked A/V Distribution (AVoIP) Traditional A/V Distribution Video Signal Processing Architectural Connectivity User Interfaces Control Processing Power (AMX) Programming (AMX) Software (AMX) Discontinued Products (AMX) General AMX Inquiries Certifications (AMX)
  • BSS
    Soundweb™ Omni Soundweb™ London Soundweb™ Contrio™ Software (BSS) Discontinued Products (BSS) General BSS Inquiries Certifications (BSS)
  • Crown
    CDi DriveCore Series CDi Series Commercial Series ComTech Series DCi DriveCore Series I-Tech HD Series XLC series XLi Series XLS DriveCore 2 Series XTi 2 Series Discontinued Products (Crown) Software (Crown) General Crown Inquiries Certifications (Crown)
  • dbx
    CX Series 500 Series DriveRack Personal Monitor Control ZonePRO Zone Controllers FeedBack Suppression Microphone Preamps Dynamics Processors Crossovers Equalizers Software (dbx) Discontinued Products (dbx) General dbx Inquiries Certifications (dbx)
  • Flux::
    Immersive Processing Analysis Subscriptions
  • JBL
    Cinema Sound Installed Live Portable Tour Sound Recording & Broadcast Software (JBL) Discontinued Products (JBL) Video Manual Series (JBL) General JBL Inquiries Certifications (JBL)
  • Lexicon
    Plugins Effects Processors Cinema Discontinued Products (Lexicon) Video Manual Series (Lexicon) General Lexicon Inquiries Certifications (Lexicon)
  • Martin
    Atomic ELP ERA Exterior MAC P3 VC VDO Tools Discontinued Products (Martin) General Martin Inquiries Certifications (Martin)
  • Soundcraft
    Digital Analog Connected Analog Only Discontinued Products (Soundcraft) Video Manual Series (Soundcraft) General Soundcraft Inquiries Certifications (Soundcraft)
  • General HARMAN Inquiries
    Dante
+ More
  • Home
  • AMX
  • Programming (AMX)
  • Programming

Using Quote Characters within a NetLinx String Expression

Written by Will Fraser

Updated at January 9th, 2026

Table of Contents

Question:   Answer: Important Note:

Question:  

How do I use quote characters within a NetLinx string expression?


Answer:

The NetLinx language has a defined format for strings to be used in variables and in commands such as FIND_STRING, SEND_STRING, etc.  The format consists of double quotes to enclose the full string, with comma-separated constants or variables within.  ASCII string elements are delimited by single quotes.  Thus, StrExp = "'The result is: ',ITOA(nSum),$0D" is a valid expression.

However, there are times where the string you wish to look for or create contains single or double quote characters within the text itself.  In order to include these characters and keep NetLinx happy, you will need to use the equivalent byte values for the quote characters within your expression.  The byte value for a double quote is $22 (or decimal 34), and the single quote is $27 (decimal 39).  You can thus build your expression as below:

DEFINE_VARIABLE

CHAR Q = $22

INTEGER nPreset

CHAR sName[20]

CHAR sOut[30]

DEFINE_START

// Build a device command containing double quotes:

nPreset = 5

sName = 'Banquet'

sOut = "'Set Preset: ',ITOA(nPreset),' Name: ',Q,sName,Q,$0D"

// send sample to Diagnostics

send_string 0,"sOut"

// Resulting output:

Set Preset: 5 Name: "Banquet"$0D

Important Note: 

Beware of copy/paste from word processing or email programs which may substitute in “smart quotes” which can really confuse your string expressions!

 

 

 

Related Videos

guide questions

Was this article helpful?

Yes
No
Give feedback about this article

Table of Contents

Question:   Answer: Important Note:

Related Articles

  • CE-IRS4 Cannot Parse IR Index Information String
  • RMS EWS Plugin and Special Characters

Related Articles

  • CE-IRS4 Cannot Parse IR Index Information String
  • RMS EWS Plugin and Special Characters
Copyright © HARMAN Professional. All rights reserved. Privacy Policy | Terms of Use
Expand