Function To Split String In Python Example