Added use of check_string() in string.find(), gsub() and match()