STRIP_COLOURS(1) STRIP_COLOURS(1)
NNAAMMEE
_s_t_r_i_p___c_o_l_o_u_r_s_(_) - strips all colour codes from a string
SSYYNNOOPPSSIISS
string strip_colours(string str)
DDEESSCCRRIIPPTTIIOONN
Returns a string free of colour codes.
EEXXAAMMPPLLEESS
+o strip_colours("%^RED%^Descartes tells you:%^RESET%^
hi!") returns "Descartes tells you: hi!"
LLOOCCAATTIIOONN
/secure/SimulEfun/strings.c
AAuutthhoorr
Descartes of Borg
1