A Sandcastle Documented Class Library
A Sandcastle Documented Class Library
CSScriptLib
StringExtensions Class
StringExtensions Methods
IsEmpty Method
IsNotEmpty Method
JoinBy Method
SameAs Method
TrimSingle Method
StringExtensions
IsNotEmpty Method
Determines whether the string is not empty (or null).
Namespace:
CSScriptLib
Assembly:
CSScriptLib (in CSScriptLib.dll) Version: 1.3.2.0
Syntax
C#
Copy
public
static
bool
IsNotEmpty
(
this
string
text
)
Parameters
text
Type:
System
String
The text.
Return Value
Type:
Boolean
true
if [is not empty] [the specified text]; otherwise,
false
.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
String
. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic)
or
Extension Methods (C# Programming Guide)
.
See Also
Reference
StringExtensions Class
CSScriptLib Namespace