Removes leading and trailing white space from a string. White space contains characters that do not display, such as the space character and the tab character. This function replaces sequences of white space with a single space.
Syntax
normalize-space (
string
)
The following table describes the argument for this function:
Argument
Description
string
String datatype. Passes a string that contains white space.
Return Value
String.
NULL if the string is NULL.
Example
The following expression removes excess white space from a name:
normalize-space ( NAME )
The following table contains example arguments and return values: