User Tag List

Results 1 to 3 of 3

Thread: How to check if a string contains "" symbols

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Apr 2008
    Posts
    108
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    How to check if a string contains "" symbols

    I have a downloaded string which looks like - "hello world" but it includes the " symbols which I also need to check. I need to check if the string contains the full text including the " symbols but the expression editor thinks I'm trying to add another string.

    So, essentially how do I get the expression editor to ignore the " symbol in a string. Is there a way to escape it? I tried using ' instead but this doesn't work.

    Sorry if my explanation is a bit unclear.

    Thanks

  2. #2
    Clicker Fusion 2.5HTML5 Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Jul 2008
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try checking if the string contains """hello world"""

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Apr 2008
    Posts
    108
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Thanks. Yes, I tried this but because I'm doing a string compare it wouldn't work because it searches for the exact string. In the end I solved it by making a global variable of the full string (including the "" quotation marks) and doing a search for that instead.

    Thanks for your help!

Similar Threads

  1. Replies: 19
    Last Post: 9th July 2018, 03:38 AM
  2. Replies: 6
    Last Post: 18th August 2015, 02:23 AM
  3. How to check if FGL's "Show Sponsor Branding" is checked or not?
    By ecoste in forum HTML5 Export Module 2.5
    Replies: 0
    Last Post: 16th January 2015, 04:44 PM
  4. Set edit box text to string$("string object") causes long delay
    By MJK in forum XNA Export Module Version 2.0
    Replies: 4
    Last Post: 22nd August 2012, 02:58 PM
  5. How to check "line of sight"? If object blocked?
    By Gibbon in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 7th July 2010, 08:22 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
  •