code: public static String rept(EvaluationContext ctx, Object text, Object numberTimes) {
          int _numberTimes = Conversions.toInteger(numberTimes, ctx);
          if (_numberTimes < 0) {
              throw new RuntimeException("Number of times can't be negative");
          }
  
          return StringUtils.repeat(Conversions.toString(text, ctx), _numberTimes);
      }
docs: Repeats text a given number of times