User Tag List

Results 1 to 6 of 6

Thread: How to type a quotation mark in expression editor?

  1. #1
    Clicker Multimedia Fusion 2

    Join Date
    Jun 2009
    Location
    Earth
    Posts
    54
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to type a quotation mark in expression editor?

    Is it possible to type a quotation mark (") in MMF2's expression editor without it being interpreted as a string? I need it for parsing HTML, so the usual double apostrophe won't suffice.

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: How to type a quotation mark in expression editor?

    Use "". For whatever reason that's how you escape it... """" would be a " as string. "x""x" is x"x.

  3. #3
    Clicker Multimedia Fusion 2

    Join Date
    Jun 2009
    Location
    Earth
    Posts
    54
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to type a quotation mark in expression editor?

    Thanks Looki!

  4. #4
    Clicker

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleUnicode Add-onInstall Creator Pro
    StingRay's Avatar
    Join Date
    Nov 2006
    Location
    Austria
    Posts
    1,057
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    is there another way to do this, may by inserting ascii code?

    because this solution doesnt work for me with StringParser2 and iOS Exporter. (already posted in the bug tracker)

    More Info: This just happen to Quotation Marks at the start of the expression, example: """hello"

  5. #5
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    A bit of a workaround, but if "" doesn't work you could try setting the string value of something else (an alterable string of an object, or just a text object) to ", and then use that in the expression... see if that helps.

  6. #6
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleInstall Creator Pro

    Join Date
    Dec 2010
    Location
    United Kingdom
    Posts
    961
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I usually set a permanent global string to ", call it quote and that does the trick. I didn't know "" also did the job. It's made me wonder if quote+"C:\"+quote is easier to read & understand than ""+"C:\"+""

Similar Threads

  1. Quotation mark in string
    By d9 in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 11th August 2011, 11:27 AM
  2. Double Quotation Marks in Expression Editor
    By JJames19119 in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 27th March 2009, 02:38 PM
  3. Expression Editor and Icon Editor
    By OldGuy in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 27th September 2008, 01:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •