Get Array Index Python String Split Method In Java