C-DEngine 5.105

TheCommonUtils..::..IsNullOrWhiteSpace Method

Safe check for strings with no content.
This function provides a platform-independent way to validate string references. It enables support for String.IsNullOrWhiteSpace() under the .NET Framework version 3.5.

Namespace:  nsCDEngine.BaseClasses
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static bool IsNullOrWhiteSpace(
	string str
)
Public Shared Function IsNullOrWhiteSpace ( _
	str As String _
) As Boolean
public:
static bool^ IsNullOrWhiteSpace(
	String^ str
)

Parameters

str
Type: String

Return Value

True if null or white spaces, otherwise False.