hi there

if i have the variable

$string = "hello this is my variable and ";
echo "$string";

how would i change the $string variable so that when it was displayed it would only display the first 10 characters.

thanks

simon

    Write a Reply...