User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15

Thread: Good string parser delimiter ?

  1. #1
    Clicker Multimedia Fusion 2 DeveloperAndroid Export Module

    Join Date
    Jun 2006
    Location
    Canada
    Posts
    611
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Good string parser delimiter ?

    Is ; a good string parser delimiter ?

  2. #2
    Clicker Multimedia Fusion 2

    Join Date
    Jul 2006
    Location
    Near Nantes (Brittany)
    Posts
    241
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Good string parser delimiter ?

    I think it depends on what your string will be. If you create the string yourself, you may use this delimiter and avoid the ";". If someone else creates the string, I think you'd rather use "|".

  3. #3
    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)

    Re: Good string parser delimiter ?

    If there aren't any semicolons in the strings you want to delimit, yes.

  4. #4
    No Products Registered

    Join Date
    Jun 2006
    Posts
    625
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Good string parser delimiter ?

    Surmulot is right. If this delimiter is used in strings with player-input, then ";" might be used... But "|" could be used too (in smileys for example :|).
    I currently use "|" much, but i make tests to avoid this kind of problem, and I try to use player-input at the end of the tokenized string, so that it won't matter much :
    /PrivateMessage|Corentin|Rushino| hey :| Here's my private message to you Rushino
    will not result in a big problem.
    /PrivateMessage|hey :| Here's my private message to you Rushino|Corentin|Rushino
    Would be more complicated....

    Remember that client-side tests aren't enough, a hacker could send text containing your delimiter without using your client, but with another app

  5. #5
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Good string parser delimiter ?

    They could also send it using your client with a tool like WPE, no matter how much protection you put in client side.

  6. #6
    Clicker Multimedia Fusion 2 DeveloperAndroid Export Module

    Join Date
    Jun 2006
    Location
    Canada
    Posts
    611
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Good string parser delimiter ?

    Interesting... how about * ? that will never be used...

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUnicode Add-onInstall Creator

    Join Date
    Jul 2006
    Posts
    1,018
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Good string parser delimiter ?

    I am using the #.

  8. #8
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,552
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Good string parser delimiter ?

    I use stuff like ±.
    .:::.Joshtek.:::.

  9. #9
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Good string parser delimiter ?

    I use "¤" because this character is never used.

  10. #10
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

    Join Date
    Jul 2006
    Location
    USA
    Posts
    658
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Good string parser delimiter ?

    and using a combination of odd characters (i.e. "|+") would increase the odds that someone would use them.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. String splitting with string parser
    By Sejez in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 5th February 2013, 05:31 AM
  2. Using String Parser to check for any punctuation in a string
    By Apex in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 18th May 2012, 11:03 PM
  3. String Parser Delimiter issue
    By AndyH in forum SWF/Flash Export Module Version 2.0
    Replies: 1
    Last Post: 11th October 2010, 11:16 AM
  4. 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
  5. String Parser and MD5?
    By pinacoladaxb in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 19th July 2008, 05:03 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
  •