Orientation

Orientation is to change characters from one direction to a different direction.

Example

A simple orientation example is to define English characters "abc" as a bidirectional object with left-to-right (LTR) orientation. If you moved the object to a right-to-left (RTL) object, the output should be "cba". The following example demonstrates a string of characters that change in orientation.

Original text Resulting text
ABC DEF à áâ
Input
left-to-right (LTR)
Output
right-to-left (RTL)
âáà FED CBA

Feedback