hey there, what im looking to do is echo the first 50 chars in a string containing 500+
i can evaluate the string length
<?
$len = strlen( $var ) ;
echo 'lengh ='.$len;
length = 5000
?>
but how do i echo the first 50 or 100 chars only?
thanx in advance
tw