Way to wrap long string?

Is there a way to get a long string to wrap in the IDE? Putting in a return seems to break strings.

The only way I can think to do this in C/C++ is to physically break the strings and use the strcat function to recombine them.

I don't think there is a line continuation syntax within the C language definition that would help.

You can do this…

const char longstring[] = "aaa"
    "bbb"
   "ccc";

but you might make sure to learn about <avr/pgmspace.h> and PROGMEM because otherwise your strings all get copied into SRAM and you don’t have much of that.

Thanks jims - that was easy. I'll put it in the reference section.

PB