Art()

From TinyMUX
Revision as of 09:52, 27 November 2010 by Ihavenomouth (talk | contribs) (New page: Category:Functions {{Function|art(<string>)}} This function returns the proper article, "a" or "an", for the <string> by attempting to match it against a set of rules. This function ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


art(<string>)

This function returns the proper article, "a" or "an", for the <string> by attempting to match it against a set of rules. This function isn't always right, but it makes a good guess most of the time.

Example

> say art(TinyMUX)

You say, "a"


> say art(umbrella)

You say, "an"


> say art(unicycle)

You say, "a"


> say art(ytterbium)

You say, "an"


> say art(one-sided)

You say, "a"


> say art(avocado)

You say, "an"

Related Topics

article_rule