Just to help you out. substr takes up to 3 parameters.
substr($string, $start, $end);
$string is the variable that you want to search
$start is the integer that you want to start looking. Remember that PHP starts at 0.
$end is the integer you wish to end at.
In your case $string is "!this is an administrator shout". $start is 0 because we want to start at the beginning and $end is 1 because we only want to look at the first character.