Text to Abbreviate
Keep the first and last character and count the ones in between: internationalization becomes i18n.
Options
Punctuation, numbers and spacing stay as typed.
Shorter words stay as they are. The lowest useful value is 3 (cat becomes c1t).
Result