[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Pattern / regulare expression basic question.
- From: Laurent FAILLIE <l_faillie@...>
- Date: Thu, 8 Mar 2012 15:24:21 -0800 (PST)
Hello,
How can I strip all control character form a string but still keeping carriage return ?
My current code is :
string.gsub(arg[4],'%c', '?')
but even carriage returns are converted to a '?' ...
Bye
Laurent