This SafeString library is designed for beginners to be a safe, robust and debuggable replacement for string processing in Arduino. Note, this is NOT my work, I am simply hosting it for easy access. The original code belongs to Forward Computing and Control Pty. Ltd.
V4.0.0 changes method returns to better match Arduino String methods, main change is indexOf now returns int and returns -1 if not found