Help for this page
my $currentChar = substr( $string, $n, 1 ); if( $currentChar eq 'C' ) { ... else { die "The first character didn't match 'C'"; }