Function truncate_string
Returns a truncated string
string |
$string |
souirce string |
integer |
$length |
how long it should be |
string |
$elipsis = '...' |
the text to tack on indicating shortening |
string
|
string |
Returns a truncated string
string |
$string |
souirce string |
integer |
$length |
how long it should be |
string |
$elipsis = '...' |
the text to tack on indicating shortening |
string
|
string |