Eight.String.isNullOrEmpty

Behaves just as String.IsNullOrEmpty in C#. Returns a boolean value true if string is null or empty, or false if not.

Example

if (Eight.String.isNullOrEmpty("test string")) {
    // ... this would never be hit because the string is not empty or null
}

Last edited Feb 2, 2013 at 4:30 PM by gotdibbs, version 1

Comments

No comments yet.