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

Difference between revisions of "DP QC STRINGCOLORFUNCTIONS"

From Quake Wiki

(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 ...)
 
 
Line 6: Line 6:
  
 
Provides additional functionality to strings by supporting functions that isolate and identify strings with color codes.
 
Provides additional functionality to strings by supporting functions that isolate and identify strings with color codes.
 +
[[Category:DarkPlaces]]

Latest revision as of 02:17, 25 March 2013

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.