Validator for String input data.
Function signature: String? Function(String?)
typedef ValStr = String? Function(String? s);