how can i split the data of input text file

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.

 Respuesta aceptada

Walter Roberson
Walter Roberson el 4 de Mayo de 2013
splittext = regexp( originaltext, '\W(is|for|in|on|under)\W', 'split' );

Más respuestas (1)

Pradeep kaur
Pradeep kaur el 5 de Mayo de 2013

0 votos

this code is not working. Nothing is display

Categorías

Más información sobre Characters and Strings en Centro de ayuda y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by