def strip_all(string):
 return strip_irc(strip(strip_irc(string)))

def strip_all ( string ) : return strip_irc ( strip ( strip_irc ( string ) ) )
removes all $() syntax and mirc formatting codes from the input string and returns it .