Hi there
i am using the String split method and i want to have the last element.
The size of the Array can change.
examples :
String one = "Düsseldorf - Zentrum - Günnewig Uebachs"
String two = "Düsseldorf - Madison"
i want to split this and get the last item :
lastone = one.split("-")[here the last item] <- how?
lasttwo = one.split("-")[here the last item] <- how?
i don't know the sizes of the arrays at rumtime :(