lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> How can I strip all control character form a string but still keeping carriage return ?

%c matches any control character (0x00 to 0x1F or 0x7F in ASCII).
Newline \n and carriage return \r are control characters...

http://www.acm.uiuc.edu/webmonkeys/book/c_guide/2.2.html