User Tag List

Results 1 to 5 of 5

Thread: Help Get specific line text

  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,846
    Mentioned
    11 Post(s)
    Tagged
    1 Thread(s)

    Help Get specific line text

    How I do to acquire the text of a specific line(from multiline text)?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleInstall Creator ProPatch Maker
    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)
    DJFuego's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    1,416
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Help Get specific line text

    load it into list object or RTF (Rich Text) object. Then use an event to get text at line X

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Help Get specific line text

    No, that is horribly inefficient. He's using the String Tokenizer object now, I told him on Gwerdy Chat.

  4. #4
    No Products Registered

    Join Date
    May 2009
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Help Get specific line text

    Hi;
    Please, Told us how to do that using String Tokenizer.

    Regards

  5. #5
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Help Get specific line text

    Choose Split String. Enter your text. For the delimeter, enter Newline$ (no quotes).

    Now you can access the lines with the expression "Get element".

    If you split this string:
    Hello,
    this is a test.
    Good bye.
    Element$( "String tokenizer", 1) returns "this is a test."

Similar Threads

  1. Sentence by sentence or line by line movement in Rich Text object?
    By ratty in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 17th March 2013, 11:36 PM
  2. Rich Text Object - Get specific line and letter
    By HadHaw in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 2nd February 2013, 07:28 PM
  3. How to remove specific text in a edit box
    By Eugene_Bosman in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 19th August 2012, 01:01 PM
  4. Save text to ini in "iOs Multiple Line Object" more than one line!
    By iamjot in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 1st February 2012, 02:16 PM
  5. Changing specific text color.
    By PicklesIIDX in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 10th September 2009, 10:32 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
  •