code: public static String implode(String[] inputArr, String delimiter) {
          String implodedStr = "";
  
          implodedStr += inputArr[0];
          for (int i = 1; i < inputArr.length; i++) {
              implodedStr += delimiter;
              implodedStr += inputArr[i];
          }
          return implodedStr;
      }
docs: Implodes an array into a string Similar to PHP implode function
  
  @param inputArr  the array to implode
  @param delimiter the delimiter that will be used to merge items in array
  @return the imploded string