Computer science education cannot make anybody an expert programmer any more than studying brushes and pigment can make somebody an expert painter. --Eric Raymond
Welcome to my blog and project site for Microsoft.NET development.

I've been a full time .NET developer for ten years, but I didn't start my professional life as a programmer ... more
Share/Print this page:

Category: Text and Strings

language elements
text and strings
[Articles: 6]

Sort:Most RecentUpdatedAuthorPagesViews TodayTotal Views 

Convert String to Int in C#

By steve on November 05, 2011.  |  Updated on January 22, 2012.  |  419 views, 2 today.  |  1 page.
 .NET  C#  Conversions  Data Types  Snippet  Text and Strings 
Three different ways to convert a string to an integer in C# and the pros and cons of each.

Extract Keywords from a Search String in C#

By steve on January 27, 2007.  |  Updated on January 22, 2012.  |  28,547 views, 12 today.  |  1 page.
 .NET  C#  Has Downloads  Has Images  Regular Expressions  Snippet  Text and Strings 
A better way than String.Split to extract words from a string.

Javascript Char Codes (Key Codes)

By steve on January 11, 2007.  |  Updated on January 26, 2012.  |  1,086,269 views, 1,439 today.  |  1 page.
An interactive javascript key code reference for javascript developers. Includes an interative text box where you can type a key and see it's code along with a complete lookup table.

Extract Hex Digits From a String

By steve on January 09, 2007.  |  Updated on January 22, 2012.  |  10,021 views, 5 today.  |  1 page.
 .NET  C#  Conversions  Regular Expressions  Snippet  Text and Strings 
Learn how to extract hex digits from a string using C#. Useful for cases where you have dirty hex information or extra characters.

Parsing URLs with Regular Expressions and the Regex Object

By steve on January 09, 2007.  |  Updated on January 22, 2012.  |  47,605 views, 28 today.  |  2 pages.
 .NET  C#  Overview  Policy and Standards  Regular Expressions  Snippet  Text and Strings  Web 
Go in depth in understanding the structure of a URL or URI and see a single regular expression that can be used to extract the various pieces in one fell swoop.

Convert String to Enum Instance

By steve on January 09, 2007.  |  Updated on January 15, 2012.  |  186,700 views, 237 today.  |  1 page.
 .NET  C#  Conversions  Enums  Snippet  Text and Strings 
C# code sample showing how to convert a string to an instance of an enumeration.