docs: public static String replaceAllWithoutRegex(String text, String from, String to) {
      if (text == null) {
        return null;
      }
      int idx = 0;
      while (true) {
        idx = text.indexOf(from, idx);
        if (idx >= 0) {
          text = text.substring(0, idx) + to + text.substring(idx + from.length());
  
          // lets start searching after the end of the `to` to avoid possible infinite recursion
          idx += to.length();
        } else {
          break;
        }
      }
      return text;
    }