Thank you for the suggestion.
I attempted to implement it as you can see in the code below. (Is this the only way to upload code? as a screen capture?)
I must be doing something wrong. The compiler rejects the string variable declaration (dummystring) as well as. the function to build and return the string, (makeLineOut).
I also notice that I must use "#include <string.h> rather than just or else I get a ‘no file found error’.
Ultimately, I am trying to construct a string (record) that is assembled by creating substrings using literals, and converted numeric values from a real time clock and sensor readings. In the loop, a record is created at regular intervals and written to a file on an SD card. (I haven’t gotten that far yet),
I would upload the entire code if I could figure out how to do it.