Announcement

Collapse
No announcement yet.

Parse a text string

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Parse a text string

    Hi all. I need to parse a string I read from the INI file or the Registry. I know how to parse a pathname, but I haven't found in the help and on this forum, how I can parse another text string. Any help is appreciaeted, since I'm really stuck.

  • #2
    Re: Parse a text string

    Please post the string and specify which portion you wish to extract.

    Corey Milner
    Creative Director, Indigo Rose Software

    Comment


    • #3
      Re: Parse a text string

      Hi, I need to do this all the time.

      This is just one example:

      ALBANIAN=SQ;INDO-EUROPEAN (OTHER);0;

      I need the 3 parts; In this INI string, they are separated from each other by a semi column ;

      Another example:
      1=WT -- Wrong Term ;5;2;
      I need the 3 parts; In this INI string, they are separated from each other by a semi column ;On top of that I will need to split the first part in 2 as well ( at the -- separator)

      thanks


      Comment


      • #4
        Re: Parse a text string

        STRING > GET DELIMITED STRING will separate them and by using STRING > FIND in conjunction with STRING > LEFT or STRING > MID or STRING > RIGHT you can split up smaller strings based upon criteria, i.e. an '='...

        You might enjoy checking out the STRING actions in the online help by clicking the link below...

        Corey Milner
        Creative Director, Indigo Rose Software

        Comment

        Working...
        X
        😀
        🥰
        🤢
        😎
        😡
        👍
        👎