words method

String words (int min, [ int max ])

Generates a random text that consists of random number of random words separated by spaces.

  • min (optional) a minimum number of words.
  • max a maximum number of words. Returns a random text.