^randomLine( item )^

Tinderbox Icon


Code Type:   Data Include
Code Scope of Action:   item

^randomLine( item )^

Scans the text of a designated item or note (or, if no argument is supplied, the current note). The text is split at paragraph breaks (e.g. carriage returns), and one line (i.e. a paragraph) is chosen at random.

Here is a random line from note "Specimen text for test":-

Now paragraph two follows. It has sentences too. Note very many, and it stops here.


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

Up: Export Codes - Full Listing
Previous: ^randomChildOf( item )^  Next: ^root^ 

A Tinderbox Reference File : Export Codes : Export Codes - Full Listing : ^randomLine( item )^

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