Thanks, but this doesn't seem to work. I assume that this is to go in the select query, eg
$sql="select question,substring(answer,0,100) as answer from db";
But the MySQL references use substring instead of substr, and no combination of that and the fieldname seem to work.
But thanks anyway.
Kevin