Summary
Groups a set of useful
string
manipulation and validation
methods.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Util - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["StringUtils"]
class Type type-node
Syntax
public sealed class StringUtils
Methods
Name | Value | Summary |
---|---|---|
Clone |
StringCollection |
Creates a shallow copy of the specified
System.Collections.Specialized.StringCollection .
static
|
ConvertEmptyToNull |
string |
Converts an empty string ("") to
null .
static
|
ConvertNullToEmpty |
string |
Converts
null to an empty string.
static
|
EndsWith |
bool |
Determines whether the last character of the given
string
matches the specified character.
static
|
IsNullOrEmpty |
bool |
static
|
Join |
string |
Concatenates a specified separator
string between each
element of a specified System.Collections.Specialized.StringCollection , yielding a
single concatenated string.
static
|