String.Split

  • Thread starter Thread starter Wallace
  • Start date Start date
W

Wallace

Hai All,

I am having a doubt in string.split, here the code sample

string str = "school college job";

note that there is '\t' spacing between each term in the string str.

how can I split this using split method??

Urgent... Please help...

Looking forward for the response...

Thax in advance....
 
string [] result = str.Split('\t');

Note: By default VS insert spaces when you press TAB. (Be shoure that
you have '\t' in your string str)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top