Top "Parsing" questions

Parsing refers to breaking an artifact into its constituent elements and capturing the relationship between those elements.

What is the C# equivalent of NaN or IsNumeric?

What is the most efficient way of testing an input string whether it contains a numeric value (or conversely Not …

c# parsing
Why can't DateTime.Parse parse UTC date

Why can't it parse this: DateTime.Parse("Tue, 1 Jan 2008 00:00:00 UTC")

c# datetime parsing
Scraping html tables into R data frames using the XML package

How do I scrape html tables using the XML package? Take, for example, this wikipedia page on the Brazilian soccer …

html r xml parsing web-scraping
lexers vs parsers

Are lexers and parsers really that different in theory? It seems fashionable to hate regular expressions: coding horror, another blog …

parsing antlr lexer pygments
Double.TryParse or Convert.ToDouble - which is faster and safer?

My application reads an Excel file using VSTO and adds the read data to a StringDictionary. It adds only data …

c# .net parsing double
Why can't DateTime.ParseExact() parse "9/1/2009" using "M/d/yyyy"

I have a string that looks like this: "9/1/2009". I want to convert it to a DateTime object (using C#). This …

.net datetime parsing cultureinfo
What is parsing in terms that a new programmer would understand?

I am a college student getting my Computer Science degree. A lot of my fellow students really haven't done a …

parsing new-operator
ParseError: not well-formed (invalid token) using cElementTree

I receive xml strings from an external source that can contains unsanitized user contributed content. The following xml string gave …

python parsing elementtree
How to parse freeform street/postal address out of text, and into components

We do business largely in the United States and are trying to improve user experience by combining all the address …

api parsing street-address
Parse v. TryParse

What is the difference between Parse() and TryParse()? int number = int.Parse(textBoxNumber.Text); // The Try-Parse Method int.TryParse(textBoxNumber.…

c# parsing integer tryparse