nopaste
Home
All pastes
Popular pastes
Recent pastes
Hmzz
By: Xmoo | Date: May 7 2009 13:13 | Format: PHP | Expires: never | Size: 216 B | Hits: 1022
Edit & repaste
|
raw paste
|
Request removal
<?php
function
short_text
(
$string
,
$digits
)
{
$count
=
strlen
(
$string
)
;
if
(
$count
>
$digits
)
{
$string
=
substr
(
"
$string
"
,
0
,
$digits
)
;
$string
=
"
$string
..."
;
}
return
$string
;
}
?>
Latest pastes
Undefined
1 hours ago
Z-content
2 hours ago
VIP hub
2 hours ago
Young Girl Having Fun in The Bushes
3 hours ago
Undefined
6 hours ago