Split Method String Python Functions With Parameters