I'd suggest regular expressions for this -- look at what's common on all the chapters of interest. Regular expressions will also likely be helpful in other parts of your task . . .
And, you should look at printf/sprintf.
Good luck!
In reply to Re: Formatting Text
by SamCG
in thread Formatting Text
by lollipop7081
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |