Source Code:
(back to article)
<?php $string = "This is a test string"; preg_match_all('/\b\w/', $string, $matches); echo $firstLetters = implode('', $matches[0]);
Result:
Report an issue