replace.c
final_realms_fluffos_v1/lib/secure/simul_efun/replace.c · 261 B
From the archive final_realms_fluffos_v1.zip
Download the archive « Back to the archive contents
varargs string replace(string str, mixed bing, string rep) {
int i;
if (pointerp(bing)) {
for (i=0;i<sizeof(bing);i+=2)
str = replace_string(str, bing[i], bing[i+1]);
return str;
}
return replace_string(str, bing, rep);
} /* replace() */