MagicCMS Documentation

MagicUtils..::..nullToStr Method (String, String)

Convert null string to string.

Namespace:  MagicCMS.Core
Assembly:  MagicCMS.4.5 (in MagicCMS.4.5.dll)

Syntax


public static string nullToStr(
	string str,
	string def
)

Parameters

str
Type: String
The string.
def
Type: String
Default value.

Return Value

System.String.