Split String Based On Character Python Documentation