text method

String text (
  1. int minLength,
  2. [int maxLength]
)

Generates a random text, consisting of first names, last names, colors, stuffs, adjectives, verbs, and punctuation marks.

  • minLength minimum amount of words to generate. Text will contain 'minSize' words if 'maxSize' is omitted.
  • maxLength (optional) maximum amount of words to generate. Returns a random text.