字串匹配 (string matching) Limit the use of For loops (the method of simulating Index of). Please use the least loop and comparison resources to complete the fastest and most efficient operation to find the occurrence position of short strings from long strings.