normalize-space()

Prev Next

This function removes all leading and trailing non-printable characters and spaces (whitespaces) from text a.

Parameters

Parameter

Description

a

Text.

Examples

Spaces and other whitespaces are represented as underscores for better readability.

Parameter a

Result

text

text

__text__

text

__sample_text__

sample_text