FIND STRING IN A TEXT FILE

Searches for a string in a text file

You are now following this Submission

The program can be used to search a word or string in a text file.

The output gives you the information at what line number it exists and how many such words or strings are present in that line.

Key Features: Simple to use.
Quick result.
Options for both case sensitive and case insensitive situations as you wish.

Cite As

Divakar Roy (2026). FIND STRING IN A TEXT FILE (https://www.mathworks.com/matlabcentral/fileexchange/8159-find-string-in-a-text-file), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: findstringline

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

bugs fixed