Use
mb_substr
for multibyte character encodings like UTF-8. substr
just counts bytes while mb_substr
counts characters.(Visited 108 times, 1 visits today)