Function shorten_string
trim $str. to $l characters and add .. if needed
Parameters summary
string |
$str |
|
integer |
$l = 20 |
$l;default: 20, string length |
Return value summary
string
|
string |
trim $str. to $l characters and add .. if needed
string |
$str |
|
integer |
$l = 20 |
$l;default: 20, string length |
string
|
string |