<human>:  Python - How to cut a string in Python?
<bot>: Here is some code to cut a string by delimiter '&'

s.rfind('&')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.