Python - Split Strings on Prefix Occurrence
Given a list of Strings, perform string split on the occurrence of prefix. Input : test_list = ["geeksforgeeks", "best", "geeks", "and"], pref = "geek" Output : [['geeksforgeeks', 'best'], ['geeks', 'and']] Explanation : At occurrence of string "geeks" split is performed. Input : test_list = ["good"