Hi all,
I want to know if there is a way to cut out a string in Java. Lets say I have three string below:
Test string number, test this out, hi: My name is John, test this out here
Another test string, testing this out for me, hi: My name is Frank, done here testing
Last test string, testing cut strings, hi: My name is Jeff, last test done
I want the ability to search for the key words "hi:" and when I find it I need to cut out hi: and everything until the first ",". My program that I am experimenting with will be done if I am able to complete this task.
This helps we with certain log files that I search through.
-Thanks