I have text, for example:
$str = 'Hi there bla bla';
I used substr function for $str
substr($str, 0 , 20);
I got full text, but if I have longer text, lets say:
$str = "Hi there bla bla Hi there bla bla Hi there bla bla";
$substred = substr($str, 20, 21);
I thought I can use
if ($substred) { echo "..."; };
But it's not working .. ?