How Does Split Method Work In Java