I have a string that may have whitespace characters around it and I want to check to see whether it is essentially empty.
There are quite a few ways to do this:
String.IsNullOrWhitespace in .NET 4 Beta 2 also plays in this space and doesnt need to be custom written