If I have the code
$a=Hello this is a text.
This will return the whole string,
Hello this is a text.
But I want it to display just like upto whatever characters I want, say upto 10 characters.
so it should return when it limited to 10 characters
How to do this?