FIND STRING IN A TEXT FILE
Version 1.0.0.0 (1.59 KB) by
Divakar Roy
Searches for a string in a text file
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://uk.mathworks.com/matlabcentral/fileexchange/8159-find-string-in-a-text-file), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R13
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Characters and Strings in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: findstringline
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | bugs fixed |
