code: public static String getTextWithNoArguments(String compiledPattern) {
          int capacity = compiledPattern.length() - 1 - getArgumentLimit(compiledPattern);
          StringBuilder sb = new StringBuilder(capacity);
          for (int i = 1; i < compiledPattern.length();) {
              int segmentLength = compiledPattern.charAt(i++) - ARG_NUM_LIMIT;
              if (segmentLength > 0) {
                  int limit = i + segmentLength;
                  sb.append(compiledPattern, i, limit);
                  i = limit;
              }
          }
          return sb.toString();
      }
docs: Returns the pattern text with none of the arguments.
  Like formatting with all-empty string values.
  
  @param compiledPattern Compiled form of a pattern string.