User Tools

Site Tools


syntax:functions:compact

This is an old revision of the document!


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.1465356942.txt.gz · Last modified: 2016/06/07 23:35 by dmitry

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki