Praeclarum.StringHelper.IsBlank C# (CSharp) Method

IsBlank() public static method

public static IsBlank ( this s ) : bool
s this
return bool
		public static bool IsBlank (this string s)
		{
			if (s == null) return true;
			var len = s.Length;
			if (len == 0) return true;
			for (var i = 0; i < len; i++)
				if (!char.IsWhiteSpace (s[i]))
					return false;
			return true;
		}
	}
StringHelper