StringUtilities Members
The StringUtilities type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
|
|
AcquireStringBuilder |
Acquires a string builder of the indicated capacity.
|
|
|
IndexOf(StringBuilder, String, Int32) |
Returns the index of the first occurrence of a substring in the StringBuilder, or -1 if not found.
|
|
|
IndexOf(StringBuilder, String, Int32, StringComparison) |
Returns the index of the first occurrence of a substring in the StringBuilder, using the specified StringComparison, or -1 if not found.
|
|
|
IndexOf(StringBuilder, String, StringComparison) |
Returns the index of the first occurrence of a substring in the StringBuilder, using the specified StringComparison, or -1 if not found.
|
|
|
IsNullOrEmpty(Nullable<(Of <<'(String>)>>)) |
Indicates whether a specified string is null, empty, or consists only of white-space
characters.
|
|
|
IsNullOrEmpty(Nullable<(Of <<'(String>)>>), String) |
Returns replacementValue if value is null or empty; otherwise returns value.
Mimics SQL Server's ISNULL function for strings.
|
|
|
IsNullOrWhiteSpace(Nullable<(Of <<'(String>)>>)) |
Indicates whether a specified string is null, empty, or consists only of white-space
characters.
|
|
|
IsNullOrWhiteSpace(Nullable<(Of <<'(String>)>>), String) |
Returns replacementValue if value is null, empty, or consists only of white-space characters; otherwise returns value.
Mimics SQL Server's ISNULL function for strings, but uses IsNullOrWhiteSpace semantics.
|
|
|
Join(IEnumerable<(Of <<'(String>)>>), String, StringJoinOption) |
Joins the list of strings using the specified separator and options.
|
|
|
Join<(Of <<'(T>)>>)(IEnumerable<(Of <<'(T>)>>), String, StringJoinOption) |
Joins the list of values using the specified separator and options.
|
|
|
LastIndexOf(StringBuilder, String, Nullable<(Of <<'(Int32>)>>)) |
Returns the index of the last occurrence of a substring in the StringBuilder, or -1 if not found.
|
|
|
LastIndexOf(StringBuilder, String, Nullable<(Of <<'(Int32>)>>), StringComparison) |
Returns the index of the last occurrence of a substring in the StringBuilder, using the specified StringComparison, or -1 if not found.
|
|
|
LastIndexOf(StringBuilder, String, StringComparison) |
Returns the index of the last occurrence of a substring in the StringBuilder, using the specified StringComparison, or -1 if not found.
|
|
|
Release |
Releases the specified string builder back to the cache.
|

