String array loadStrings split – #10 by nina1 – Processing

Please can anyone help me please? Iknow how to load Strings but idk how to Split them with “!,?,.”

Write a program that reads a text file with a name of your choice and has the following content:

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua? At vero
eos et accusam et just duo dolores et ea rebum! Stet clita kasd gubergren, no sea
takimata sanctus est Lorem ipsum dolor sit amet.

Your program should display this text sentence by sentence in the console. That means one sentence per line. As soon as a sentence ends, a new line should be started.

Read more here: Source link