string routines and code libraries

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi,
I am new to C#, coming from Delphi. In Delphi, I am using a 3rd party
string handling library that includes some very useful string
functions, in particular I'm interested in BEFORE (return substring
before a pattern), AFTER (return substring after a pattern), and
BETWEEN (return substring between 2 patterns).
My questions are:
1. Can any tell me how I can implement such functionality in C#?
2. Is it possible to add/include function libraries to C~, and if so
how?

Thank you very much for your help.

Zoro.

.



Relevant Pages

  • Re: urgent!!!!thanks
    ... #extracted the substring from the ... filename(the substring has to be the first four charslike 2003) and ... search the pattern in all the files and copy the files which are having the specified pattern. ... Before copying the files, check the file is present in the destination directory. ...
    (comp.unix.shell)
  • Re: string routines and code libraries
    ... Assuming that when you mention "pattern" you are talking ... public static intIndicesOf(string input, ... /// Finds a substring of ain input string between 2 pattern matches ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: How to take acton upon a pattern of nth occurrence?
    ... > Why do you have Perl capture the part you are not interested in? ... How to take acton upon a pattern of nth occurrence? ... retain the substring in front of it. ...
    (comp.lang.perl.misc)
  • Damn internal errors :(
    ... overloading in Delphi 2006 and I'm often faced with Internal Errors at ... a specific pattern of totally unrelated lines to make it disapear. ...
    (borland.public.delphi.non-technical)
  • Re: string routines and code libraries
    ... > str = 'microsoft.com' ... > BEFORE returns the substring BEFORE the pattern so: ... Prev by Date: ...
    (microsoft.public.dotnet.languages.csharp)