public static function has($haystack, $needle, $delim = ',') { return tagged($haystack, $needle, $delim); }
function filtered_tags($tags, $supported, $delim = ',') { $out = array(); $words = words($tags, $delim); foreach ($words as $w) { if (tagged($supported, $w)) { $out[] = $w; } } return implode($delim, $out); }