protected static function get_pro_suffix($name) {
    foreach (self::$dict['suffixes']['prof'] as $suffix) {
      if (preg_match("/,[\s]*$suffix\b/i", $name, $matches)) {
        return $matches[0];
      }
    }
    return false;
  }
protected static function get_pro_suffix($name) {
    foreach (self::$dict['suffixes']['prof'] as $suffix) {
      if (preg_match("/,[\s]*$suffix\b/i", $name, $matches)) {
        return $matches[0];
      }
    }
    return false;
  }
protected static function get_pro_suffix ( $ name ) { foreach ( self :: $ dict [ 'suffixes' ] [ 'prof' ] as $ suffix ) { if ( preg_match ( "/,[\s]*$suffix\b/i" , $ name , $ matches ) ) { return $ matches [ 0 ] ; } } return false ; }
Checks for the existence of, and returns professional suffix

@param string $name the name you wish to test
@return mixed returns the suffix if exists, false otherwise
Checks for the existence of and returns professional suffix