php - Ineed to find substring of the content? -
suppose content "suppose content "does teen have low self–esteem? maybe has lousy self image, or anxiety fitting in @ school or peers. week in ep, read these difficult adolescent issues " need first 10 or 15 characters . need first 10 or 15 characters .but should avoid partial word..eg "suppose content "does teen have low self–esteem? maybe has lousy self image, or anx.. " in need print "suppose content "suppose content "does teen have low self–esteem? maybe has lousy self image, or anxiety" mean full word
take @ user-comments on php's substr documentation. there several examples of "word-safe" substr implementations.
Comments
Post a Comment