Dude!
I was just talking to my dad, and explained what I was trying to do (he had no clue what I was talking about!), and I thought just that exactly!! If I cut it to 301 characters, then cut at the position of the last space (would I need to -1 to get rid of the space too?), that should work.
I'll try it as soon as I can get on my pc (damn big brothers!!) cos this pc ain't got any web server crap on it...
I'll just bore you a little with some details, but basically I'm making a programlike PHP-Nuke, cos I don't like certain aspects of php-nuke. My php skills are nowhere near as good as theres, but it'll be a good learning experience!
Thanks for the solution anyway,
Danny