StringHelper.IsTrimmedEmpty method

namespace: Serenity   assemblySerenity.Net.Core

Checks if a string String is null, empty or just contains whitespace characters.

public static bool IsTrimmedEmpty(this string str)
parameter description
str String.

Return Value

If string is null, empty or contains only white space, true

Remarks

Warning: "\n" (line end), "\t" (tab) and some other are also considered as whitespace). To see a list see Trim function.This is an extension method, so it can be called directly as str.IsTrimmedEmpty().

See Also