<$BlogRSDUrl$>

Tuesday, February 22, 2005

.NET Split Functions 

Jay B. Harlow
Remember there are three Split functions in .NET:

Use Microsoft.VisualBasic.Strings.Split if you need to split a string based on a specific word (string). It is the Split function from VB6.

Use System.String.Split if you need to split a string based on a collection of specific characters. Each individual character is its own delimiter.

Use System.Text.RegularExpressions.RegEx.Split to split based on matching patterns.

Topics: Regex


Comments: Post a Comment

This page is powered by Blogger. Isn't yours?