docs: function (string, size, begin) {
              var result = [], start, strLen = string.length;
  
              if (size < 1 || size >= strLen) {
                  return [string];
              } else if (size === 1) {
                  // split is faster than what I want to do
                  return string.split('');
              }
  
              if (begin === true) {
                  start = 0;
                  while (start < strLen) {
                      result.push(string.substr(start, size));
                      start += size;
                  }
  
                  return result;
              } else {
                  start = strLen;
                  while (start > 0) {
                      result.push(string.substring(Math.max(0, start - size), start));
                      start -= size;
                  }
  
                  return result.reverse();
              }
          }