Hi Johannes,
Perhaps examples from the Java Almanac might help?
http://exampledepot.com/egs/java.lang/GetSubstring.htmlCarl
Johannes Breu wrote:
> Hello,
>
>
> my main aim is to learn how to extract a substring out of a string.
> If this is my string:
> Documents\Home\Experiment1\Images\*xy/*Image0006.tif
>
> I would like to extract the bold letters and assign them to a new variable.
>
> I don´t get it.
>
> Could anybody give me a hint?
>
> Thanks.
>