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: | ||
+ | |||
+ | \\ | ||
+ | =====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===== | ||
+ | |||
+ | ' | ||
+ | | ||
+ | |||
+ | removetext(' | ||
+ | Woman' | ||
+ | |||
+ | code(linebreak()) //Returns 13 (the UTF-8 character code for line break) | ||
+ | |||
+ | \\ | ||
+ | ===== See also ===== | ||
+ | * [[syntax: | ||
+ | * [[syntax: | ||
syntax/functions/linebreak.txt · Last modified: 2021/08/15 03:15 by craigt