text method

String text (int minLength, [ 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.