How To Get Substring From Arraylist In Java