| word_wrap() | ใช้ตัดคำขึ้นบรรทัดใหม่ เมื่อครบทุกๆจำนวนตัวอักษรที่กำหนด |
|---|
function:word_wrap ( text, num )
return type:string
content:ใช้ตัดคำขึ้นบรรทัดใหม่ เมื่อครบทุกๆจำนวนตัวอักษรที่กำหนด
example:$data = "Welcome To BambooLabCode dot com"; echo word_wrap ( $data, 5 );