Click here to Skip to main content
14,299,944 members

.NET 4: string.IsNullOrWhitespace()

30 Jul 2010CPOL
try this wayreturn String.IsNullOrEmpty(input.Trim());
We're sorry, but the article you are trying to view has been deleted.

Please go to the Programming Tips Table of Contents to view the list of available articles in this section.