result = mystring.rpartition(':')[2]
If you string does not have any :, the result will contain the original string.
An alternative that is supposed to be a little bit slower is:
result = mystring.split(':')[-1]
result = mystring.rpartition(':')[2]
If you string does not have any :, the result will contain the original string.
An alternative that is supposed to be a little bit slower is:
result = mystring.split(':')[-1]