User Tag List

Results 1 to 3 of 3

Thread: String Tokenizer vs. Parser confusion

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    MJK's Avatar
    Join Date
    Jun 2006
    Location
    Espoo, Finland
    Posts
    1,162
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    String Tokenizer vs. Parser confusion

    I'm puzzled why do I get a different result when parsing the 5th element with this source string and delimiter, depending on whether I use the String Tokenizer or String Parser object...



    Source mfa

    My logic says that the String Parser gives the correct result here.

    I would prefer using String Tokenizer, because it's faster in flash under fastloops. But is this a bug with the object or just me not knowing how to use it properly?

    Build 251

  2. #2
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,393
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)

    Re: String Tokenizer vs. Parser confusion

    It quite clearly states that the string tokenizer:
    "Can split a string up based on single character delimiters".

    I'm sure you can find a work-around quite easily if you try (like using two different delimiters).

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    MJK's Avatar
    Join Date
    Jun 2006
    Location
    Espoo, Finland
    Posts
    1,162
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: String Tokenizer vs. Parser confusion

    Ah, ok. I have missed that single character limitation. Thanks for pointing out.

Similar Threads

  1. [Question] String tokenizer
    By ASD in forum Extension Development
    Replies: 1
    Last Post: 23rd July 2011, 02:03 PM
  2. String tokenizer
    By Phi in forum Extension Development
    Replies: 3
    Last Post: 25th April 2011, 04:23 PM
  3. String tokenizer
    By James in forum Released Extensions
    Replies: 5
    Last Post: 25th April 2011, 10:33 AM
  4. String tokenizer
    By Earl in forum SWF/Flash Export Module Version 2.0
    Replies: 2
    Last Post: 20th July 2010, 03:13 AM
  5. String Parser or String Parser 2? Vitalized
    By DJ_Wild in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 5th September 2009, 10:12 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
  •