convert_name.c
foundationI_fluffos_v1/lib/secure/SimulEfun/convert_name.c · 318 B
From the archive foundation1_fluffos_v1.zip
Download the archive « Back to the archive contents
/* /adm/SimulEfun/convert_name.c
* from Nightmare IV
* changes any cap name to a true name
* created by Descartes of Borg 940214
*/
string convert_name(string str) {
str = replace_string(str, " ", "");
str = replace_string(str, "'", "");
return lower_case(replace_string(str, "-", ""));
}