You don't have an account yet?
Become part of our PHP community and register now...
$string = substr($string,0,6)."...";
string = string.substr(0,6)+'...';
Comment