How Does Split Function Work In Java