how would you search for a part of a word in a whole string or flatfile line. for example like:
the user inputs tax or another word and if the input is part of a larger word like taxation then it will print the result.
im trying to create a search that will allow the user to input small words and it will search the whole file and if a string with that file is found it will print it.