Text Function

$Text function generates random texts. There are two versions of the function. The first version operates with Value Library. The second one uses user defined phrase list.
The phrase list is a text file with one phrase per line.

The first version of the function has two parameters:

  1. (optional) maximum text length. The default value is 128.
  2. (optional) language*. The default is EN.

* - current version of the value library supports only following languages: EN, DE, FR, IT and RU.

Examples

$Text(255)
$Text()
$Text(500,IT)

The second version of the function also has two parameters. Both are mandatory:

  1. Maximum text length.
  2. File name.

Examples

$Text(200,d:\phrases\estonian.txt)