I have this string in my Android Application:
/storage/emulated/0/temp.jpg
I need manipulate the string and to split the string for this output:
temp.jpg
I need always take the last element of the string.
How to this output in java?
I would greatly appreciate any help you can give me in working this problem.