mb_substr() function is not working in PHP | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

mb_substr() function is not working in PHP

I had to use mb_substr() function in php but returns error. Does anyone know the reason?

14th Jan 2019, 5:29 AM
Azat
Azat - avatar
2 Answers
0
it depends on the way you used it.
14th Jan 2019, 11:20 AM
Sailesh Dahal
Sailesh Dahal - avatar
0
i used it normal way. $str = “qwertyäýü”; $letter = mb_substr($str, 2, -1); #actuaľy it doesnt accept mb_ functions here at all.
14th Jan 2019, 3:38 PM
Azat
Azat - avatar