string tokenizer

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • romy

    #1

    string tokenizer

    I can't find the then class for dividing strings into tokens by a specific
    delimeter


  • Al Reid

    #2
    Re: string tokenizer

    "romy" <royalizi@Power up1.com> wrote in message news:uvwNKuweFH A.1680@TK2MSFTN GP09.phx.gbl...[color=blue]
    > I can't find the then class for dividing strings into tokens by a specific
    > delimeter
    >
    >[/color]

    Have a look at String.Split()

    --

    Al Reid


    Comment

    • Carlos J. Quintero [.NET MVP]

      #3
      Re: string tokenizer

      String.Split(.. .)


      --
      Best regards,

      Carlos J. Quintero

      MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
      You can code, design and document much faster.
      Free resources for add-in developers:
      MZ-Tools has a single goal: To make your everyday programming life easier. As an add-in to several Integrated Development Environment (IDEs) from Microsoft, MZ-Tools adds new menus and toolbars to them that provide many new productivity features.


      "romy" <royalizi@Power up1.com> escribió en el mensaje
      news:uvwNKuweFH A.1680@TK2MSFTN GP09.phx.gbl...[color=blue]
      >I can't find the then class for dividing strings into tokens by a specific
      >delimeter
      >[/color]


      Comment

      • Cor Ligthert

        #4
        Re: string tokenizer

        Romy,

        Beside the one told there is as well Split and Regex.split

        I hope this helps,

        Cor


        Comment

        • Jay B. Harlow [MVP - Outlook]

          #5
          Re: string tokenizer

          Romy,
          In addition to the other comments on Split, there are three Split functions
          in .NET:

          Use Microsoft.Visua lBasic.Strings. Split if you need to split a string based
          on a specific word (string). It is the Split function from VB6.

          Use System.String.S plit if you need to split a string based on a collection
          of specific characters. Each individual character is its own delimiter.

          Use System.Text.Reg ularExpressions .RegEx.Split to split based
          on matching patterns.

          Hope this helps
          Jay


          "romy" <royalizi@Power up1.com> wrote in message
          news:uvwNKuweFH A.1680@TK2MSFTN GP09.phx.gbl...
          |I can't find the then class for dividing strings into tokens by a specific
          | delimeter
          |
          |


          Comment

          Working...