Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!

DP QC STRINGCOLORFUNCTIONS

From Quake Wiki

Builtin definitions:

float(string s) strlennocol = #476; // returns how many characters are in a string, minus color codes
string(string s) strdecolorize = #477; // returns a string minus the color codes of the string provided

Provides additional functionality to strings by supporting functions that isolate and identify strings with color codes.