I am working on an arduino mega 2560 sketch. I have to parse http query strings.
My program is concatenating strings for each http request. And i have an http request every second during all day.
I have read that this kind of work may cause ram memory fragmentation. I am very upset about this because my program will randomly crash if there are no free ram memory.
Do you know if there is a way to initialise a string with a given memory length ?
I do not want to work with char arrays because i need indexof, substring functions and comparison with ==