function string(obj, fn, ctx) {
  for (var i = 0; i < obj.length; ++i) {
    fn.call(ctx, obj.charAt(i), i);
  }
}
Iterate string chars.

@param {String} obj
@param {Function} fn
@param {Object} ctx
@api private