Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
bgColorwhite

StringLength


This type validates the length of a string value.

Syntax

Code Block
<minLength><maxLength>
  • minLength - The length of the attribute value should be greater than or equal to this value.

  • maxLength - The length of the attribute value should be less than or equal to this value.

Examples


ParametersValueResult
<><5>“john”valid
<2><>“a”invalid
<4><8>“username”valid

Back to top