What is the best way to insert a character at a special position in a string?
I have a string, i.e 123456789 (the length can vary) and I want to insert a "-" before the last three digits. The result should be 123456-789.
Is it possible to do this with standard functions?
Thanks for your help.