Site Tools


stripansi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

stripansi [2006/08/29 16:08] (current)
Line 1: Line 1:
 +# $EPIC: stripansi.txt,​v 1.2 2006/08/20 16:57:01 sthalik Exp $
 +======Synopsis:​======
 +$__stripansi__(<​text>​)
 +
 +======Technical:​======
 +This function returns <​text>,​ except that all ascii characters from 14 to 
 +31 (inclusive) except for 15 and 22 (^O and ^V) have been converted into 
 +their printable ascii equivalents. ​ The net effect is that all ESCape ​
 +sequences in <​text>​ have been mangled safely.
 +
 +======Practical:​======
 +This function is not useful and is maintained for backwards compatibility.
 +You should use $[[stripansicodes]]() instead.
 +
 +======Returns:​======
 +The input string with control characters mangled into submission.
 +
 +======Examples:​======
 +<​file>​
 +$stripansi($*) ​            make sure default input has no ESCs
 +</​file>​
  
stripansi.txt ยท Last modified: 2006/08/29 16:08 (external edit)