User Tools

Site Tools


syntax:functions:linebreak

Differences

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

Link to this comparison view

syntax:functions:linebreak [2016/06/07 23:44] – created dmitrysyntax:functions:linebreak [2021/08/15 03:15] (current) craigt
Line 1: Line 1:
-===== Linebreak() =====+====== LineBreak() =====
 +Category:  Text function
  
-Returns the line break character (in Windows). Note that files generated in other operational systems (e.g.Linux, Unix or MacOS) may have different line break characters.+\\  
 +=====Description===== 
 +This function returns the line break character (in Windows).
  
-^  Example  ^  ColumnA  ^  Result +Note that files generated in other operating systems (e.g.Linux, Unixor MacOSmay have different line break characters.
-| <code>replace([ColumnA]linebreak(),'')</code>|<code>'Line1 +
-Line2'</code>    |<code>'Line1Line2'</code>  |+
  
 +\\ 
 +=====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)]]
  
-=== See also === 
-  * [[syntax:functions:char]] 
syntax/functions/linebreak.1465357479.txt.gz · Last modified: 2016/06/07 23:44 by dmitry

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki