def outputFormatter(s):
result = '<STR_LIT>'<EOL>def formatSubString(s):<EOL><INDENT>for c in s:<EOL><INDENT>if c==<NUM_LIT:32>: yield '<STR_LIT:U+0020>'<EOL>else: yield outputCharFormatter(c)<EOL><DEDENT><DEDENT>if len(result)<<NUM_LIT:200>: return '<STR_LIT>'.join(formatSubString(s))<EOL>else:<EOL><INDENT>return '<STR_LIT>'.join(formatSubString(s[:<NUM_LIT:100>]))+'<STR_LIT>'+'<STR_LIT>'.join(formatSubString(s[-<NUM_LIT:100>:]))<EOL><DEDENT>
Show string or char.