convert_name.c

foundation2_fluffos_v1/lib/secure/sefun/convert_name.c · 315 B

From the archive foundation2_fluffos_v1.zip

Download the archive   « Back to the archive contents

/*    /adm/sefun/convert_name.c
 *    from Foundation II
 *    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