User Tag List

Results 1 to 4 of 4

Thread: String tokenizer doesn't split created string object

  1. #1
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)
    ASD's Avatar
    Join Date
    Feb 2007
    Location
    Japan
    Posts
    1,844
    Mentioned
    11 Post(s)
    Tagged
    1 Thread(s)

    Question String tokenizer doesn't split created string object

    The String tokenizer doesn't split the text of the String object if it created by event.
    Same problem happened in String Parser too...

    cf25_293_1_string_tokenizer_cannot_split_created_string.mfa

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCHTML5 Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    chrilley's Avatar
    Join Date
    Jul 2006
    Posts
    998
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    Although in your example you are splitting Alterable String A and not the visible string, I can still confirm the bug you are describing. I am not sure if splitting has much to do with it or if created strings are just cranky...

    For anyone debugging ASD's file:
    1) On Event 1: Change Alterable String A("String") to string$("String")
    2) Test and confirm no splitting happens
    3) Enable "Create at start" on String and remove the Create Object: String action at Event 1.
    4) Test and confirm splitting now happens successfully.

    (Also I had no idea newline$ was an acceptable delimiter. Neat! )

  3. #3
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    13,958
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCHTML5 Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    chrilley's Avatar
    Join Date
    Jul 2006
    Posts
    998
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    Ah - That would explain some oddities I've run into in the past. Much of my UI is made up of Strings created during runtime...

Similar Threads

  1. split string in 2 string when there is a new line
    By ciaciosacchetti in forum Fusion 2.5
    Replies: 5
    Last Post: 25th January 2020, 09:17 PM
  2. Replies: 6
    Last Post: 2nd June 2018, 04:16 PM
  3. String or string tokenizer delimiter
    By ayejes in forum Fusion 2.5
    Replies: 2
    Last Post: 10th May 2018, 10:03 PM
  4. String tokenizer doesn't seem to work
    By SoftWarewolf in forum iOS Export Module 2.5
    Replies: 4
    Last Post: 12th November 2015, 11:40 AM
  5. String tokenizer
    By Earl in forum SWF/Flash Export Module Version 2.0
    Replies: 2
    Last Post: 20th July 2010, 04:13 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
  •