ReplaceInvalidFileNameChars(Span<char>, char) Method
Namespace
Statiq.Common
Containing Type
NormalizedPath

Syntax

public static bool ReplaceInvalidFileNameChars(in Span<char> fileName, char newChar = '-')

Parameters

Name Type Description
fileName Span<char>
newChar char

Return Value

Type Description
bool