cut a string using delimiter '&',s[:s.rfind('&')]