Hi all.

What im trying to accomplish is to get strings from within a string.
These strings are seperated with "//*//"

an example would be

String ExampleString = ("////helle////goodbye////1965////this is an example//*//the end");

then I would like to seperated into seperate strings.

hello
goodbye
1964
this is an example
the end

Any help in order to accomplish this would be greatly appreciated.

use Spring StringUtils.delimitedStringtoArray. Maybe I don't remember function name but I am sure Spring StringUtils class has function that you needed. :)

hainguyen81: why converting an application/service into a Spring application/service, for something that can be done with a single method call from the core api's?
to me, this question looks like a homework task, or something in the early stage of learning Java.

working with Spring for this sounds like dropping a 45 megaton nuclear warhead on your house because a mosquito is keeping you awake.

This question has already been answered. Start a new discussion instead.