Date: 05/14/05 (Code WTF) Keywords: no keywords чувак не нашёл функцию в документации функцию substr:
function copystr($str, $pos, $len)
{
$tmp = "";
for ($i = $pos; $i < $pos+$len; $i++)
$tmp .= $str[$i];
return $tmp;
}
Source: http://www.livejournal.com/community/code_wtf/3826.html
|