Skip to main content

normalize_spaces

Convert multiple spaces to single and strip from both sides.

def normalize_spaces(
val: string
) - > string|null

Convert multiple spaces to single and strip from both sides.

Parameters

NameTypeDescription
valstringThe input string to be trimmed and normalized

Returns

TypeDescription
`stringnull`