Hi everyone,
I need to parse a text file based on a few delimiters. There are 2 problems I am having. I'll start with the first problem.
I have no problem using the split () method to parse text by a single delimiter. For example:
String[] str = stringRead.split(":");
However, I can't parse by : as it is sometimes used within the text. So, what if my decimeter was a string. For example:
String[] str = stringRead.split("Topic:");
How would I go about doing this? If I try it now, it parses by each letter in the text. Thank you for any help you can provide.