Strings.indexOf - get positional index of char or substring