validateString

Checks if a string falls within the specified length range.

  1. string validateString(string str, size_t min_length, size_t max_length, string entity_name)
    @safe
    string
    validateString
    (
    string str
    ,
    size_t min_length = 0
    ,
    size_t max_length = 0
    ,
    string entity_name = "String"
    )
  2. bool validateString(R error_sink, string str, size_t min_length, size_t max_length, string entity_name)

Meta