Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!
DP QC STRREPLACE
From Quake Wiki
Builtin definitions:
string(string search, string replace, string subject) strreplace = #484; string(string search, string replace, string subject) strireplace = #485;
strreplace replaces all occurrences of 'search' with 'replace' in the string 'subject', and returns the result as a tempstring.
strireplace does the same but uses case-insensitive matching of the 'search' term.