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