User Tools

Site Tools


syntax:functions:linebreak

LineBreak()

Category: Text function


Description

This function returns the line break character (in Windows).

Note that files generated in other operating systems (e.g., Linux, Unix, or MacOS) may have different line break characters.


Use cases

This function simplifies adding, finding, or removing line break characters without having to reference the ASCII code for it.


Arguments

This function does not take any arguments.

Return value type: Line break


Examples

'Man' & linebreak() & 'Woman' //Returns 'Man
                                         Woman'
removetext('Man    , linebreak()) //Returns 'ManWoman'
            Woman'
code(linebreak()) //Returns 13  (the UTF-8 character code for line break)


See also

syntax/functions/linebreak.txt · Last modified: 2021/08/15 03:15 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki