How do I search for a string in a text file that has carriage returns within the string
5 views (last 30 days)
Show older comments
I have a text file I am trying to locate strings. Lets say that the txt file looked like this:
'hello
world'
When I search for the string 'hello world' the above txt file would yield 0 results. How can I go about getting a result for this instead of it being overlooked?
Thank you for the help. Will
3 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Characters and Strings in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!