pluralize

foundationI_fluffos_v1/lib/doc/SimulEfun/pluralize · 528 B

From the archive foundation1_fluffos_v1.zip

Download the archive   « Back to the archive contents

Nightmare Mudlib SimulEfun: pluralize()

string pluralize(mixed)

DESCRIPTION
When a string is passed, it returns the plural form of the string.
When an object is passed, it returns the value of query_plural_name()
if that object has a plural name, or it returns the plural form
of its name as returns by query_name()

EXAMPLES
pluralize("frog") returns "frogs"
pluralize("moose") returns "moose"
pluralize("a globe of frogs") returns "globes of frogs"

LOCATION
/secure/SimulEfun/pluralize.c

SEE ALSO
consolidate(), ordinal()

Site Stats

Snippets: 1791
Codebases: 571