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