how can i split the data of input text file
1 次查看(过去 30 天)
显示 更早的评论
i want to generate a text watermark. for that i am input a text data and need to split the text when preposition(like: is, for, in nd many more) arrived.
0 个评论
采纳的回答
Walter Roberson
2013-5-4
splittext = regexp( originaltext, '\W(is|for|in|on|under)\W', 'split' );
0 个评论
更多回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!