Site Tools


stripansicodes

# $EPIC: stripansicodes.txt,v 1.2 2006/08/20 16:57:01 sthalik Exp $

Synopsis:

$stripansicodes(<text>)

Technical:

  • The return value is equivalent to $stripcrap(ANSI <text>)
  • This function is deprecated and should not be used.

Practical:

There is no practical use for this function. Use $stripcrap() instead.

Returns:

<text> with safe ansi codes normalized and unsafe ansi codes removed.

Examples:

$stripansi($*)             make sure default input has no strange ansi's
stripansicodes.txt · Last modified: 2006/08/29 16:08 by 127.0.0.1