Does the mystring.indexOf() function supports search strings that contain forward slashes?
In my program I just try to find the index of a closing XML tag, from an XML request I extract from a UDP packet. Below is the statement :
intPosB = strUDPMsg.indexOf("");
Enabling this statement - although not executed when no UDP packet is received - causes garbage output via the Serial connection.
Enabling the following statement has no influence :
intPosA = strUDPMsg.indexOf("");
So, I suspect the indexOf function of the String object cannot cope with forward slashes in the search string. Could somebody tell me how to escape this properly?