NOTE: This method is now obsolete.
Please use StringUtil.GetString
Gets the string value of an object.
The string value of the object or the default value if the object is null.
string s0 = StringUtil.GetString(myObject, ""); string s1 = StringUtil.GetString(Request.QueryString["id"], "");
MainUtil Class | Sitecore Namespace | MainUtil.GetString Overload List