Text line endings

Tinderbox Icon

This topic likely won't affect users unless they are doing multi-line edit scripting or using the Explode feature.

Not all line breaks are equal. 2 different characters get used for line endings:

To muddy the waters, different OSs have used different line end encodings:

Text generated in Tinderbox (except perhaps very early versions running pre-OS X) uses the Unix/OS X style line offered style of line end, \n.

When including a line end as part of an Explode delimiter, \r and r generally have the same effect so using \n as a 'default' is probably good working practice.

However, depending on the source of text brought into Tinderbox, e.g. a text file dragged in for exploding, the designator used for line end may have to be adjusted.


Possible relevant notes (via "Similar Notes" feature):

Up: Import/Export/Formatting
Previous: Text Export - points to consider  Next: Time - Displaying and Setting Seconds 

A Tinderbox Reference File : Import/Export/Formatting : Text line endings

Quicklinks: Attributes | Action Codes | Export Codes | Designators | Date Formats | aTbRef Site Map

[Last updated: 16 May 2012, using v5.11.1]


Search:

Google search aTbRef for:  


Creative Commons Licence

aTbRef by Mark Anderson is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

[See aTbRef CC licence Attribution & Waiver info]

Made with Tinderbox