I have a number of string compare functions in one of my Arduino programs, where the comparison string is defined inside the function call .
int val = strcmp("this would be the string im looking for but this definition its very long and seems to consume RAM - how to avoid?", strvar);
I can see that when I have a bunch of these types of statements that the compiler reports that I'm using more RAM as I add more statements.
My question is, is there an F() type macro that can be used for string comparisons, so that I can avoid using up most of my available RAM.