Contact: aviboots(AT)netvision.net.il
39,907 questions
51,839 answers
573 users
$str = "#php#"; if ($str[0] === '#' && $str[strlen($str) - 1] === '#') { echo "yes"; } else { echo "no"; } /* run: yes */