System::String::IsNullOrWhiteSpace method

String::IsNullOrWhiteSpace method

Indicates whether a specified string is null, empty, or consists only of white-space characters.

static bool System::String::IsNullOrWhiteSpace(const String &str)
ParameterTypeDescription
strconst String&String to check.

ReturnValue

true if string is null or empty or consists exclusively of white-space characters, false otherwise.

See Also