I have the following string in a variable.
Stack Overflow is as frictionless and painless to use as we could make it.
I want to fetch first 28 characte
substr("some string", 0, x);
From the PHP Manual