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

DP QC STRINGCOLORFUNCTIONS

From Quake Wiki

Revision as of 16:40, 28 February 2008 by KrimZon (talk | contribs) (New page: Builtin definitions: <pre> float(string s) strlennocol = #476; // returns how many characters are in a string, minus color codes string(string s) strdecolorize = #477; // returns a string ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.