A.9. stripansi

$stripped = stripansi( str );

Returns the string stripped of any ANSI sequences that it had.