code: public static String take(GString self, int num) {
          return (String) take(self.toString(), num);
      }
docs: A GString variant of the equivalent CharSequence method.
  
  @param self the original GString
  @param num  the number of chars to take from this GString
  @return a String consisting of the first <code>num</code> chars,
  or else the whole GString if it has less then <code>num</code> elements.
  @since 2.3.7