could someone please make a little example, how to short string and put ... to the end of the string
for example I add some news to my website and the news title is too long and the script must short it to 10 characters and put ... at the end and then output the title
how to do that?
for example I add some news to my website and the news title is too long and the script must short it to 10 characters and put ... at the end and then output the title
how to do that?