Posted By

kossmoss on 03/20/09


Tagged

cut


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

aleksanderek


Soft text cutting (don't break words!)


 / Published in: PHP
 

URL: http://www.promoforum.ru/index.php?showtopic=12687&view=findpost&p=97609

  1. $text=substr ($text, 0, strpos ($text, " ", 249));

Report this snippet  

You need to login to post a comment.