char stringToAdd[4097] = "";
// some manipulations on stringToAdd to add some value to it.
if(stringToAdd[0] != '\0') {
response = MethodCalledHere("Some Random text");
}
MethodCalledHere(const String& inputParameter) {
// some method definition here.
}
I've to add stringToAdd to the "Some Random text". Something like -
response = MethodCalledHere("Some Random text" + stringToAdd);
But this gives me error that '+' cannot add two pointers.
Any suggestions?