randomeline(
TEXT
)

The randomeline( function returns a random line from multiple lines of text.


Parameters

This function has one parameter:

text – one or more lines of text, separated by carriage return characters.


Description

This function returns a random line from multiple lines of text. Each time you use this function a new random line will be returned.

randomeline(commatocr("red,green,blue,gold,silver,white,black")) ☞ blue
randomeline(commatocr("red,green,blue,gold,silver,white,black")) ☞ silver
randomeline(commatocr("red,green,blue,gold,silver,white,black")) ☞ red
randomeline(commatocr("red,green,blue,gold,silver,white,black")) ☞ gold

new


See Also


History

VersionStatusNotes
1.0UpdatedCarried over from Panorama 6.0, but is much faster.