Site Tools


nohighlight

# $EPIC: nohighlight.txt,v 1.2 2006/08/01 05:32:26 sthalik Exp $

Synopsis:

$nohighlight(<string>)

Technical:

This function returns <string> with all highlight characters escaped. All ^B, ^V, ^_, ^O, ^C, and ^[ characters will be replaced by an inverse of their control character, to remove all highlighting.

Practical:

This function is no longer useful and is retained for backwards compatibility. New scripts should use $stripcrap() instead.

Returns:

<string> with no parsable highlight characters, except the reverse used to show the control character.

Examples:

$nohighlight(this is a test)

Returns “this ^Bis^B a ^_test^_”

nohighlight.txt · Last modified: 2006/08/01 20:54 by 127.0.0.1