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