SpanExtensions Class
Namespace
Statiq.Common
Base Types
  • object
graph BT Type-->Base0["object"] Type["SpanExtensions"] class Type type-node

Syntax

public static class SpanExtensions

Methods

Name Return Value Summary
Append(Span<char>, char[]) Span<char>
static
Remove(Span<char>, int, int) Span<char>
Removes characters from a character span by copying over them and returning a slice. This is destructive and the original span should no longer be used.
static
Replace(Span<char>, char, char) bool
static
Replace(Span<char>, char[], char) bool
static