article.c

tmi2_fluffos_v2/lib/adm/simul_efun/article.c · 350 B

From the archive tmi2_fluffos_v2.zip

Download the archive   « Back to the archive contents

// this is just a cute little simul_efun to save some time and make things 
// look a little nicer... please use it when you need to.
// written by Buddha@tmi-2 on 12-5-92

string article(string str) {
	if (!str) return "";
	str = lower_case(str);
	if (member_array(str[0], ({ 'a', 'e', 'i', 'o', 'u' }) ) != -1)
		return "an";
	else return "a";
}


Site Stats

Snippets: 1791
Codebases: 571