User Tools

Site Tools


syntax:functions:linebreak
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


Previous revision
syntax:functions:linebreak [2021/08/15 03:15] (current) craigt
Line 1: Line 1:
 +====== 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:char|Char(char_code)]]
 +  * [[syntax:functions:code|Code(text)]]
  
syntax/functions/linebreak.txt · Last modified: 2021/08/15 03:15 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki