conv_unescape_nl 함수 추가
This commit is contained in:
@ -2615,4 +2615,13 @@ function conv_date_format($format, $date, $add='')
|
||||
|
||||
return date($format, $timestamp);
|
||||
}
|
||||
|
||||
// unescape nl 얻기
|
||||
function conv_unescape_nl($str)
|
||||
{
|
||||
$search = array('\\r', '\\n', '\r');
|
||||
$replace = array('', '\n', '');
|
||||
|
||||
return str_replace($search, $replace, $str);
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user