code: public static function charCodeAt($string, $position)
      {
          $char = mb_substr($string, $position, 1, 'UTF-8');
  
          return self::ord($char);
      }
docs: Returns UTF-8 char code at given $positing of the $string
  
  @param string $string
  @param int    $position
  
  @return mixed