Tambahkan ... jika string terlalu panjang php
mb_strimwidth("Hello World", 0, 10, "...");
Prickly Plover
mb_strimwidth("Hello World", 0, 10, "...");