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

Announcements

News and Announcements icon
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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

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

#1
KristineRisberg Profile Picture

KristineRisberg 33

#2
11manish Profile Picture

11manish 31

#3
Manoj - ManoVerse Profile Picture

Manoj - ManoVerse 21 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans