How Does Split Function Work