Search
Categories
  ASP.NET
Visual C#
Visual Basic
.NET Framework
ADO.NET
AJAX
LINQ
Java
 
How To Rating
 
5.0 out of 5


Total Votes: 1
         
1 2 3 4 5
 




How to Split a Delimited String in .NET

Author: Waqas Anwar - Posted Date: 16-July-2009 - Category: .NET Framework   
Bookmark and Share
If you have a delimited string in your program and you want to split it into individual strings you can use Split method of string class as follows:
string s = "Microsoft,Intel,Oracle,HP,Sony,IBM";
string[] companies = s.Split(new char[] { ',' });


RELATED HOW TOs

  How to Join multiple strings into a single Delimited String
  How to convert a string into bytes array in .NET

LEAVE YOUR COMMENTS LEAVE YOUR COMMENTS
 Name (required)  
 Email (required
 Website


 

 


 
 
 

Categories

My Portfolio

Website Links


Copyright @ 2009 EzzyLearning.com