SyntaxFix
Write A Post
Hire A Developer
Questions
You can use
substr(string $string, int $start, int[optional] $length=null);
See substr in the PHP documentation. It returns part of a string.