My question is probably simple to one of you - in many accounting programs they enable a "shortcut" to insert text in a field
For instance if you are typing a sentence and place \a in the text it will complete the word as you go - the shortcuts are normal stored in a table (database)
if \a is equal to a shortcut to the text "today"
"I have type 85 words \a"
would be the equivalent of
"I have typed 85 words today"
How is this done ??
Code examples appreciated (and required for the points)