Is it possible to use a regular expression to detect anything that is NOT an \"empty string\" like this:
string s1 = \"\"; string s2 = \" \"; string s3 = \"
You could also use:
public static bool IsWhiteSpace(string s) { return s.Trim().Length == 0; }