ZennoLab

Automate everything

User Tools

Site Tools


en:ranges

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
en:ranges [2015/09/16 14:32]
vladz
en:ranges [2015/09/18 10:12]
vladz [Extracting a random line or several random lines from a range]
Line 58: Line 58:
  
 To do this write random in the line number field then the number of lines you need to extract and then in brackets indicate the range of lines from which to extract. \\  \\ Example: \\  \\ **random1(1,​12-15,​35-end)** ​ - to extract **one** ​ line from a range \\  \\ or \\  \\ **random15(1,​12-15,​35-end)** ​ - to extract **15** ​ lines from a range. To do this write random in the line number field then the number of lines you need to extract and then in brackets indicate the range of lines from which to extract. \\  \\ Example: \\  \\ **random1(1,​12-15,​35-end)** ​ - to extract **one** ​ line from a range \\  \\ or \\  \\ **random15(1,​12-15,​35-end)** ​ - to extract **15** ​ lines from a range.
 +randomAll(1,​12-15,​35-end) to extract all lines from specified interval randomly (randomAll is available in ZennoPoster starting from version 5.9.3).
 ===== Excluding ranges ===== ===== Excluding ranges =====
  
en/ranges.txt ยท Last modified: 2015/09/23 18:49 by lokiys