Remove(Span<char>, int, int) Method
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.
Namespace
Statiq.Common
Containing Type
SpanExtensions

Syntax

public static Span<char> Remove(this in Span<char> str, int startIndex, int length)

Parameters

Name Type Description
str Span<char>
startIndex int
length int

Return Value

Type Description
Span<char>