Working but with a little problem
Hi Paul,
This is what i wanted to do, but the problem is that the code also deletes the last full stop after the last heading. I need to add the headings inside brackets divided by comma or else and at the end put a full stop. Let me show you what i mean.
i.e {Heading 1, Heading 2, Heading 3.}.
The fixed code working fine but also deletes the last full stop which i dont want to. i.e {Heading 1, Heading 2, Heading 3}. I dont know if this makes things complicated. (This is my fault, because the code from the beginning produce this string {Heading 1, Heading 2, Heading 3}).
|