web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

How to use single code inside double quotes in JQuery

(0) ShareShare
ReportReport
Posted on by 195

Hi,

How to pass single quotes inside double quotes in a string.

"statecode eq 3 and  statuscode eq 7 and search.ismatch('/.*717690002.*/', 'mrc_brandmultiselectstring', 'full', 'any')"

Please help me with this.

Thanks in advance!!

Regards,

Susritha.

I have the same question (0)
  • Suggested answer
    Adam Pfau Profile Picture
    265 on at

    If you want quotes to show up in the string you need to wrap it with " and escape the inner ones.  

    So

    var text = "\"example.com\"";

    is

    "http://example.com"

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 73 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 42 Most Valuable Professional

#3
Scott Jackson UK Profile Picture

Scott Jackson UK 22

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans