Computer science education cannot make anybody an expert programmer any more than studying brushes and pigment can make somebody an expert painter. --Eric Raymond
Welcome to my blog about software development and the Microsoft stack.

I've been a full time .NET developer for ten years, but I didn't start my professional life as a programmer ... more
Share/Print this page:

Subscribe for news, updates and more:

Please enter your reply for the comment shown below:

Post Your Comment
  You may post without logging in or login here.
Display Name: Required.
Email: Required. Will not be shown. Used for identicon.
Comment:
Allowed tags: <quote></quote>, <code></code>, <b></b>, <i></i>, <u></u>, <red></red>
 
   Please type text as shown in the image at left.
Posted 2011 Dec 30 03:08 AM. reply
StringSplitOptions.RemoveEmptyEntries removes such entries: text.Split(" ".ToCharArray(), StringSplitOptions.RemoveEmptyEntries)

aegir