Move common substring range checking code to... (validate_substring): ...this function.
Attach a file by drag & drop or click to upload