normalize

fun normalize(value: String, vararg additionalCharsToReplace: Char): String

Removes empty spaces and any additional specified characters.

Return

The original string normalized to remove specified characters.

Parameters

value

The string to be normalized.

additionalCharsToReplace

Additional characters to be removed.