ohdang888 Posted August 20, 2008 Share Posted August 20, 2008 i have a variable of $story. and i want to cut the $story off after 400 characters, and then add "..." to the end of it. how would this be done? Thanks. Link to comment https://forums.phpfreaks.com/topic/120602-solved-stopping-after-certain-of-characters/ Share on other sites More sharing options...
akitchin Posted August 20, 2008 Share Posted August 20, 2008 you're looking for substr(). the manual will tell you what you need to know about using it. Link to comment https://forums.phpfreaks.com/topic/120602-solved-stopping-after-certain-of-characters/#findComment-621444 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.