Determine where 2 strings begin to differ from each other.This function is valid in v2.3.0 to v2.23.0. This function has been downloaded 32 times.
-1will be returned. In all other cases, the first index at which the corresponding character in
str1is not the same as that found in
str2will be returned.