The assignment is to develop a tool in Java that takes two inputs - the text string and the pattern; and finds all the matches of pattern in the text string.
Simply, we need to print all the indexes where the pattern occurs in the text string.
The source-code for the tool (Java 7) :
| Advertisement |

No comments:
Post a Comment