Function string

Requires a non-empty string. If one or more values are specified, the string must match ones of the specified values.

Call .allowEmptyString to allow empty strings.