quotes within string

Posted on 2011-04-21
Last Modified: 2012-05-11
I have an alert statement in flex 3 and would like to include quotes within the text.
For example (The "From Date" must be greater than the "To Date")

How can include quotes within an alert text string?
Question by:deross
    LVL 17

    Accepted Solution

    like this:

    var str:String = "The \"From Date\" must be greater than the \"To Date\")";


    var str:String = 'The "From Date" must be greater than the "To Date")';

    Warm Regards
    Deepanjan Das

    Author Closing Comment

    Thanks very much.


    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    Suggested Solutions

    First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
    Read about the 3 stages of the buyer's journey: awareness, consideration, and decision.
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now