string.simplify

Syntax

sout := string.simplify(sin)

Simplifies a string be removing any leading or trailing whitespace characters, and replacing all repeated internal whitespace characters with a single space.

Returns:sout - The simplified string.
Arguments:sin - The original string to simplify.