Class StringExt
Static helper functions for System.String.
Useful for example in LINQ queries.
Syntax
public static class StringExt
Methods
IsNotNullOrEmpty(String)
Indicates whether a specified string is null or an empty string ("").
Declaration
public static bool IsNotNullOrEmpty(string str)
Parameters
Type |
Name |
Description |
String |
str |
|
Returns
IsNotNullOrWhiteSpace(String)
Indicates whether a specified string is not null, empty, or consists only of white-space characters.
Declaration
public static bool IsNotNullOrWhiteSpace(string str)
Parameters
Type |
Name |
Description |
String |
str |
|
Returns