Use \003 instead of $ to cut string in string_format.