Add logic which checks if the input string should be validated `strictly` using the first character of the input string.
Add logic which checks if the input string should be validated
strictlyusing the first character of the input string.