Locate the hyphen in a classroom code
strchr
std::string::find
strings.Index
String.indexOf
indexOf
strpos
str.find
regexpr
String#index