Extend string class methods
Extend the string class with
string myStr.Between("www.", ".com");
John Harrison commented
Can't you just create extension methods for these? It's about 10 mins work...
Marcel Veldhuizen commented
It's not possible to create a non-static version of IsNullOrEmpty, but you can implement it as an extension method if you prefer. The same goes for your other examples.
Personally I missed the CString SpanIncluding and SpanExcluding alike methods, but honestly there are so many things people may need for parsing stuff that it is better left to a parsing library.
Thomas Jam Pedersen commented
Ups forgot one
make myStr.Compare() accept StringComparison.OrdinalIgnoreCase