convert_name.c

dsI/lib/secure/sefun/convert_name.c · 312 B

From the archive dsI.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) {
    str = replace_string(str, " ", "");
    str = replace_string(str, "'", "");
    return lower_case(replace_string(str, "-", ""));
}

Site Stats

Snippets: 1791
Codebases: 571