Skip to Content
0
Former Member
Jun 25, 2008 at 11:42 AM

Insert character at a special position in a string.

1146 Views

Hi,

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.

/Sten