- Namespace
- Statiq
.Common - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["StringExtensions"]
class Type type-node
Syntax
public static class StringExtensions
Methods
Name | Return Value | Summary |
---|---|---|
RemoveEnd |
string |
static
|
RemoveEnd |
string |
static
|
Remove |
string |
Removes HTML and special characters from a string and collapses adjacent spaces to a single space.
static
|
RemoveStart |
string |
static
|
RemoveStart |
string |
static
|
ToKebab |
string |
static
|
ToLowerCamelCase |
string |
static
|
ToMemory |
Memory |
Allocates a
Memory<T> and copies the characters of the string into it.
static
|
ToSpan |
Span |
Allocates a
Span<T> and copies the characters of the string into it.
static
|