Click here to Skip to main content
12,633,998 members (22,362 online)
Click here to Skip to main content
Alternatives (2)
Add your own
alternative version

Tagged as

Stats

26.2K views
9 bookmarked
Posted

General string parsing techniques

, 30 Oct 2011 CPOL
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

Pro
Pro
| | Privacy | Terms of Use | Mobile
Web02 | 2.8.161208.2 | Last Updated 30 Oct 2011
Article Copyright 2011 by rj45
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid