convert_name.c
ds2.1.1/lib/secure/sefun/convert_name.c · 349 B
From the archive ds2.1.1.zip
Download the archive « Back to the archive contents
/* /adm/sefun/convert_name.c
* from Dead Souls
* changes any cap name to a true name
* created by Descartes of Borg 940214
*/
string convert_name(string str) {
if(!str || str == "") return "";
str = replace_string(str, " ", "");
str = replace_string(str, "'", "");
return lower_case(replace_string(str, "-", ""));
}