VJs Tip Of The Day - July 1st 2004
Reply
![]() |
|
From:
![]() VishalRJoshi
|
Split Functions in .Net
There are multiple Split functions available in .NET...
U can 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. Here there are chances of getting white spaces when you would not expect them to come...
Use System.Text.RegularExpressions.RegEx.Split to split based on some specific formats... You can use this in case the earlier one does not work for you...
At the end if you remember the good old days you can reference the Microsoft.VisualBasic assembly in your program and can use the Strings.Split function to split a string based on a word... The favorite way of VB6 programmer... :-) Vishal Joshi Microsoft MVP .Net If You Think YOU CAN... You Can... http://VishalJoshi.Blogspot.com (This is where you can find archives of previous tips) http://www.microsoft.com/india/mvp/indiamvp.aspx http://groups.msn.com/ChennaiNetUserGroup http://groups.msn.com/CNUG-DAM http://groups.msn.com/NetBloomingtonUserGroup
PS: Feel free to post comments when you feel something is wrong in the tip, it's always good to make corrections at the right time... Drop in your mail ids when you put in a comment in my blog...
|
|
View other groups in this category.
![]() |
To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings.
Need help? If you've forgotten your password, please go to Passport Member Services.
For other questions or feedback, go to our Contact Us page.
If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list.
Remove my e-mail address from dotNET User Group Hyd.
|
|