How to insert a comma into a string

Can you help me in
Make a string, pass the rtc time, add comma then 3 bytes of our data using esp32
How to do this?

Please post an example program showing what you are trying to do and the data types being used


Other post/duplicate DELETED
Please do NOT cross post / duplicate as it wastes peoples time and efforts to have more than one post for a single topic.

Could you take a few moments to Learn How To Use The Forum.
It will help you get the best out of the forum in the future.
Other general help and troubleshooting advice can be found here.


You’re using the ESP32, so use a String, not a string.