sanitizeFileName

fun String.sanitizeFileName(replacement: String): <Error class: unknown class>

Return

this string with all non-alphanumeric characters, except for -, _, @, replaced with replacement. . is sanitized only at the beginning and the end of the string.

Parameters

replacement

character to replace invalid characters with