User Tag List

Results 1 to 3 of 3

Thread: String Tokenizer Problem in iOS

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    CBSection31's Avatar
    Join Date
    Apr 2007
    Location
    Aurora, IL, USA
    Posts
    108
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question String Tokenizer Problem in iOS

    Hi everyone,

    I am in the middle of creating my first iOS app, and I've been trying to get the app to work properly in XCode. Unfortunately, I'm running into problems. At first I thought that I didn't transfer over some INI files properly, but after much testing I've narrowed down the problem to the String Tokenizer.

    In my app, I use the string tokenizer to split apart a string that is retrieved from an INI file. As a basic example, let's say I have an INI file called data.ini that is structured as follows:

    [Data]
    Event1=play_music <menu><loop>

    I then have the string tokenizer set to split the string GroupItemString$( "data.ini", "Data", "Event"+Str$(Current_Event)), where Current_Event is a global value set by the application. The delimiters I use are "<>".

    On the PC, this works perfectly. If I have a text string show me the result of Element$( "String tokenizer", 0), it displays "play_music". If I have it show Element$( "String tokenizer", 1), it displays "menu".

    In XCode, however, whenever I call Element$( "String tokenizer", 0) or Element$( "String tokenizer", 1), it displays the entire line: "play_music <menu><loop>", as though the string has not been split apart at all. Because of this, the app is not working properly...but only in XCode.

    Is this a bug with string tokenizer? Is there a problem with using brackets as delimiters? Or is something odd with my specific application/event setup?

    I'm hoping someone can assist me with this. Thanks in advance for your time and help.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    CBSection31's Avatar
    Join Date
    Apr 2007
    Location
    Aurora, IL, USA
    Posts
    108
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quick update: I created a small test file, and it turns out that the delimiters "<>" do not work properly in iOS. The above problem occurs. When I switch the delimiters to "|", it works perfectly. So it seems that is where the problem lies. Any ideas about what could be wrong with the brackets?

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module

    Join Date
    Sep 2012
    Posts
    65
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I tested the extension, "String tokenizer" does not function on IOS. Anyone has a solution?

Similar Threads

  1. String Tokenizer , URL Encoder
    By dinktheboss in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 17th September 2012, 06:56 PM
  2. [Question] String tokenizer
    By ASD in forum Extension Development
    Replies: 1
    Last Post: 23rd July 2011, 02:03 PM
  3. String tokenizer
    By Phi in forum Extension Development
    Replies: 3
    Last Post: 25th April 2011, 04:23 PM
  4. String tokenizer
    By James in forum Released Extensions
    Replies: 5
    Last Post: 25th April 2011, 10:33 AM
  5. String tokenizer
    By Earl in forum SWF/Flash Export Module Version 2.0
    Replies: 2
    Last Post: 20th July 2010, 03:13 AM

Tags for this Thread

Posting Permissions

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