Skip to main content

add_a

Discworld driver help

add_a

Name

add_a() - Adds an 'a' or 'an' to a string.

Synopsis

string add_a( string s )

Description

Adds an 'a' or 'an' to a string. Determines if a 'a' or 'an' should be added based on the beginning of the word. If you are doing this on an object you should probably use a_short or the_short on the object.

See also

/std/basic/desc->a_short(), /std/basic/desc->the_short(), /std/basic/desc->one_short()