Currently, the method I use to truncate strings is: echo substr($message, 0, 30)."..";
How do I show the dots only in the case that the string has been truncated?
Currently, the method I use to truncate strings is: echo substr($message, 0, 30)."..";
How do I show the dots only in the case that the string has been truncated?