ReadOnlySpanExtension Class
Namespace: FolkerKinzel.StringsAssembly: FolkerKinzel.Strings (in FolkerKinzel.Strings.dll) Version: 9.4.0+10a7d4d71aa960998e32ac0ac6c4fcbe4164c917
public static class ReadOnlySpanExtension
<ExtensionAttribute>
Public NotInheritable Class ReadOnlySpanExtension
[ExtensionAttribute]
public ref class ReadOnlySpanExtension abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ExtensionAttribute>]
type ReadOnlySpanExtension = class end
- Inheritance
- Object ReadOnlySpanExtension
| ContainsNewLine | Indicates whether a read-only character span contains a newline character. |
| ContainsWhiteSpace | Indicates whether a read-only span of characters contains white space. |
| GetPersistentHashCode | Generates the same Int32 hash code for an identical string
of characters each time the program is run. |
| IsAscii | Checks whether the read-only character span contains only Unicode
characters that belong to the ASCII character set. |
| LastIndexOf | Specifies the zero based index position of the last occurrence of a specified
character sequence in span. The search begins at a specified
character position and runs backwards to the beginning of the character span for
a specified number of character positions. A parameter specifies the type of comparison
to be performed when searching for the specified character sequence. |
| LastIndexOfAny(ReadOnlySpanChar, SearchValuesPolyfillChar, Int32, Int32) | Returns the zero-based index of the last occurrence of one of the specified
characters in span. The search begins at a specified character
position and runs a specified number of character positions backwards to the beginning
of the span. |
| LastIndexOfAny(ReadOnlySpanChar, ReadOnlySpanChar, Int32, Int32) | Returns the zero-based index of the last occurrence of one of the specified
characters in span. The search begins at a specified character
position and runs a specified number of character positions backwards to the beginning
of the span. |
| Trim |
Removes all leading and trailing occurrences of a set of characters specified in a
SearchValuesPolyfill<Char> instance from a read-only character span.
|
| TrimEnd |
Removes all trailing occurrences of a set of characters specified in a
SearchValuesPolyfill<Char> instance from a read-only character span.
|
| TrimStart |
Removes all leading occurrences of a set of characters specified in a
SearchValuesPolyfill<Char> instance from a read-only character span.
|
Static members of this type are safe for multi-threaded operations. Instance members of this type are safe for multi-threaded operations.