In my php code I need to split an arabic string. However when I copy the string it writes in left to right direction and split function splits the string reversly. Is there a way in php to say that make the string in rtl direction so that it splits correctly?
$text="انا احمد.";
$mysplit = mb_split(' ',$text);