Introduction - If you have any usage issues, please Google them yourself
Achieve simple pattern matching algorithm and KMP pattern matching algorithm. Index (S, T, pos) function returns the string value of S T in the string after the first pos characters first appear.