I would like to know if there is any built-in function in python to split the string into 2 parts based on the last occurrence of the separator.
for example: consider the line "abc, d, e, f" after the separator ",", I want the result to be like
"abc, d, e" and "f".
I know how to manipulate a string to get the desired result, but I want to know if there is any built-in function in python.
python string
Yashwanth Kumar Sep 08 '11 at 16:56 2011-09-08 16:56
source share