how can i split the data of input text file

1 visualización (últimos 30 días)
Pradeep kaur
Pradeep kaur el 4 de Mayo de 2013
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
this code is not working. Nothing is display

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by