Arduino String Replace Function Python