A string can contain both left-to-right and right-to-left text. We need a better algorithm to guess the current direction of a text :-).
A string can contain both left-to-right and right-to-left text. We need a better algorithm to guess the current direction of a text :-).