actually...
dur...
$n=4;
$string = 'blahblah4';
if( $string{strlen($string)+1} = $n ){
//do summat
}
that'll be a bit more efficient
( ,
Wed 22 Jan 2003, 22:29,
archived)
$n=4;
$string = 'blahblah4';
if( $string{strlen($string)+1} = $n ){
//do summat
}
that'll be a bit more efficient