There is a FAQ on this question at
I have a large file containing a date of birth variable coded "ddmmyyyy"
without any separator. User's manual on page 306 suggests a solution for a
similar case. However there should be some way to insert characters at a
fixed position into a string (i.e. a "/" after the second and the fourth
character) or to generate three new substrings containing day, month, and
year respectively again based on the fixed position of day, month, and year
in the string... probably I just overlooked it. Many thanks for your help.