Driver Code
if __name__ == ' _ _ main _ _ ' : NEW_LINE INDENT str = " geeks ; for ; geeks " NEW_LINE dl = ' ; ' NEW_LINE res = splitStrings ( str , dl ) NEW_LINE for x in range ( len ( res ) ) : NEW_LINE INDENT print ( res [ x ] ) NEW_LINE DEDENT DEDENT