trim¶ Signature¶ trim(string, string) Description¶ Trims both ends of the source string by characters appearing in the second string. Examples¶ trim(' foobar ', 'fbr ') == 'ooba' trim(' foobar ', 'fbr') == ' foobar '