Click here to Skip to main content
11,505,486 members (51,693 online)
Click here to Skip to main content
Alternatives (2)

Tagged as

General string parsing techniques

, 30 Oct 2011 CPOL 23K 9
General string parsing techniques

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

28 Oct 2011
Andrew Rissing
I would have actually opted to remove the start index being passed in. Then, you can spruce up the calls with extension methods (albeit not necessary).Usage:removeList.AddRange(html.ToString().GetBetween("");Code:public static class StringUtilities{ ///...
1 Nov 2011
ChunkyStool
namespace ParseTests{ using System; using System.Collections.Generic; using System.Text.RegularExpressions; public static class ExtensionMethods { /// /// Extracts text from a source string that is between two specified tags. ...

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

rj45
Software Developer (Senior)
Canada Canada
No Biography provided

| | Privacy | Terms of Use | Mobile
Web04 | 2.8.150520.1 | Last Updated 30 Oct 2011
Article Copyright 2011 by rj45
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid