Vocabulary
english

Inputs and outputs
worda string
numeronyma string


Word description
Abbreviates a word of more than three characters, by replacing the inner part of the word with the number of omitted letters. The result is an abbreviation (called a numeronym) which is pronounced like the original word.

Notes
This word attempts to preserve the letter case style of the input.
When the input is too short, it is returned unchanged.
The name of this word is abbreviation, abbreviated by its own strategy.
This style of abbreviation originated with i18n (the word internationalization) in the 1980s.


Examples
USING: english io ; "dup" a10n print
dup

USING: english io ; "abbreviationalism" a10n print
a15m


See also
a/an, ?plural-article, comma-list, $or-markup-example, or-markup-example

Definition