Skip to content
Advertisement

Tag: short

Short Text, PHP

I got this function: and if I use echo shorter($input, 11) it works ok, but if there are some white spaces in the input, otherwise for the input looking like: wwwwwwwwwww The function will change this into: … (3 dots). I wan’t it to be changed into something like this: www … Have you got any ideas how to rebuild

Advertisement