How do we copy a section of a char array that doesn't start at the beginning?

StuHooper:

bperrybap:
IF the goal is really line wrapping there are other ways to handle this.

--- bill

Care to elaborate? I have a 140 word tweet that regularly changes. I need to draw it across 6 21 character lines at the bottom of a sparkfun color LCD shield.

Any method you have of doing this will be an education to me.

A simplistic way would be printing a single character a time from your string.
When you have printed the number of characters
on a line (21 in this case) drop to the next line

The current gLCD code looks like it support newline processing so when ready to drop to the next line
simply send a newline '\n' before continuing to print the remaining characters.

--- bill