Thank you very much. Could you give me a rough idea of what the MySQL query would look like? I am trying to work out the syntax using string functions like LOCATE, INSTR, SUBSTRING and SUBSTRING_INDEX. Many thanks BMA Steven Cruz wrote: > I use to perl scripts to do something like this. But you just back and > forward from the location in the string you are. You are count for word > bounderies, in short, mostly white spaces. Next you count the number of > characters, and substring! >> -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php