User Tag List

Results 1 to 6 of 6

Thread: Search for String Parser 2 sample

  1. #1
    No Products Registered

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

    Search for String Parser 2 sample

    I try to work with String Parser 2, I search for examples in the forums but I not see nothing about.

    I try to replace a lot of different words in an text file, and maybe with String Parser I can, because i stay trying with a lot of object how: Rich Edit, Edit Object, and more, but I do not obtain results. Jaffob help me with replace an single caracter, but now need to replace over 30 different words.

    Somebody can help me in these questions and put an example.

    Thanks.

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Search for String Parser 2 sample

    Quick Token's replace characters expression replaces single chars. For example replacing "h!" in "Hello!" with "j" would return "jelloj". The Substring Replace Object replaces entire substrings, for example replacing "ell" in "Hello!" with "or" would return "Horo!".

    So, following the steps I gave you recently, instead use the Substring Replace Object (use FusionUpdater if you do not have it).

    To replace over 30 different words, you may have to run a fast loop, entering various strings into Substring Replace.

    Hope that helps.

  3. #3
    Clickteam Clickteam
    Olivier's Avatar
    Join Date
    Jun 2006
    Posts
    3,000
    Mentioned
    9 Post(s)
    Tagged
    1 Thread(s)

    Re: Search for String Parser 2 sample

    The help file of String Parser 2 comes with a simple little tutorial. It should get you started.

  4. #4
    No Products Registered

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

    Re: Search for String Parser 2 sample

    Sorry.

    I have three Edit Box object the first is the file that I need to change, the second Edit Box is the list of words to change and the three edit box is the list of the new words that replace the original words. Then I made the follow but nothing happens:

    -ReplaceSubstring$( "Substring Replace", Edittext$( "Edit Box" ), Edittext$( "Edit Box 2" ), Edittext$( "Edit Box 3" ))

    The previous sentence only work if the Edit Box have an unique word. If have a list no work.

    Some ideas for me. Thanks

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Search for String Parser 2 sample

    Instead of Edit Boxes for your word lists, use List Objects. Make sure both have a 0-based index by editing the properties. Then using a fastloop, you can retreive certain lines based on the loop index and give it to the substring replace object.

  6. #6
    No Products Registered

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

    Re: Search for String Parser 2 sample

    Thank Jaffob, but with List Object and fastloop neither I can do it.

Similar Threads

  1. [BUG 256.34] String Parser 2
    By Olivier in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 13th February 2013, 11:51 AM
  2. String splitting with string parser
    By Sejez in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 5th February 2013, 05:31 AM
  3. 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
  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!!!
    By JoeText1 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 24th October 2008, 11:14 PM

Posting Permissions

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