Return Character Substitute

Robert Brenstein rjb at rz.uni-potsdam.de
Mon Apr 8 17:55:01 EDT 2002


>on 4/8/02 12:05 PM, Yennie at aol.com at Yennie at aol.com wrote:
>
>>  Ray,
>>
>>  I would suggest something non-printable. For example, the delete character.
>>  Try checking an ASCII table, then using things such as numToChar(9). If you
>>  use something non-printable and consistently defined, then you won't have to
>>  worry about your users typing it.
>>
>>  Regards,
>  > Brian
>  >
>Thanks Brian,
>
>Scott Rossi's suggestion of using formFeed works well with the only issue
>being that it does show up as a box on screen if, for example, users need to
>choose a line with a formFeed in it from a list of lines.
>
>I'll keep messing around with it.
>
>Ray
>

I am replacing returns, newlines, tabs, and a few other characters by 
using C-style escape codes

backslash - \\ # to preserve backslash
return - \r
newline - \n
tab - \t

This gives me full readability while allowing me to completely 
eliminate all control characters.

Robert



More information about the metacard mailing list