phrase method

String phrase (
  1. int minLength,
  2. [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.