ConstrainedString

Extend this class to make a read-only string that enforces a maximum length, and optionally whether a value must be provided.

abstract
class ConstrainedString {
string value;
}

Meta