How to split a text file containing two paragraphs into two documents with one paragraph in each
Show older comments
Hi, I have a text file with the content as below:
A dynamic learning environment is characterized by change, activity and progress. It is intentionally designed to meet the needs of all students while challenging them to enhance existing skills A dynamic learning environment is characterized by change, activity and progress. It is intentionally designed to meet the needs of all students while challenging them to enhance existing skills, interests and understandings, as well as meaningfully building new ones. Such an environment incorporates inclusion, learning styles, technology and real world applications. It encompasses the classroom, school and broader community under an umbrella of mutual respect and collaboration, interests and understandings, as well as meaningfully building new ones. Such an environment incorporates inclusion, learning styles, technology and real world applications. It encompasses the classroom, school and broader community under an umbrella of mutual respect and collaboration.
There are 2 paragraphs in this text file. My question is how can I separate two paragraphs into 2 documents. I tried to use split at return but all of them have return at the end. The second paragraph starts at “Such..” Thank you in advance
Answers (0)
Categories
Find more on Cell Arrays in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!