The file has following functions:
- Function 1 - reads each character.
- charreader($filename)
- Function 2 - reads each character into array
- chararrayreader($filename)
- Function 3 - reads file contents into array
- arrayreader($filename)
- Function 4 - searches for similar words/ phrase in file, case sensitive
- searchwordcase($filename, $words)
- Function 5 - searches for similar words/ phrase in file, case insensitive
- searchwordnocase($filename, $words)
The usage is very simple and has been included as demos. The Demos have been included as tests (not unit tests) along with the type of file needed for all tests.