How to get a substring at words boundaries in PHP?

How to get a substring at words boundaries in PHP?: How to get a substring at words boundaries in PHP?.
View more Q&As from SysTutorials QA.