read the text between multiple delimiters

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pencoder
    New Member
    • May 2007
    • 3

    read the text between multiple delimiters

    Actually i wrote C# codings to read text between delimiters.it works nicely.
    in my codings i have a condition it checks whether the delimiter indexed first time or the second time.based on that i read that text file.

    But i don't know how to code for multiple delimiters.actu ally i don't know how to put the condition.can anyone help me.....


    thank you
  • SammyB
    Recognized Expert Contributor
    • Mar 2007
    • 807

    #2
    Have you tried using regular expressions? They are a very useful addition to the Net Framework, Microsoft's documentation is at http://msdn2.microsoft.com/en-us/lib...12(VS.71).aspx and is pretty useless for learning. A good tutorial is at http://www.codeproject.com/dotnet/RegexTutorial.asp. He says, "If you don't find regular expressions hard to read you are probably an idiot savant or a visitor from another planet." which is very true, but they are a very useful tool. HTH --Sam

    Comment

    Working...