User Tools

Site Tools


syntax:functions:compact

Compact(text)

Removes repeating whitespace characters from text. Note that line breaks and other special characters are not counted as whitespace.

Example Result
compact( 'A           Z')
'A Z'
len(compact( 'A           Z'))
3
compact( 'A       N       Z')
'A N Z'

See also

syntax/functions/compact.txt · Last modified: 2018/08/15 08:35 by dmitry