Sunday, August 2, 2009

I want to tokenize the string using the delimiter :some @.How to do this in C#.net?

Eg:suppose some string"My name@is xxx.@I am doing @so and so"


actually my intention is to store all these tokens in different variables.


let me say


x = My name


y = is xxx.


z =I am doing


a =so and so








Actally i know how to do it in java using the string tokezier.How to


do this in .Net.


Please help me.








Thanks in Advance..

I want to tokenize the string using the delimiter :some @.How to do this in C#.net?
string field = "My name@is xxx.@I am doing @so and so"


string[] result = field.Split(new char[]{'@'});

umbrella plant

No comments:

Post a Comment