phrase method

String phrase (int minLength, [ int maxLength ])

Generates a random phrase which consists of few words separated by spaces. The first word is capitalized, others are not.

  • minLength (optional) minimum string length.
  • maxLength maximum string length. Returns a random phrase.