goarabic icon indicating copy to clipboard operation
goarabic copied to clipboard

Added `ReverseArabicChars()` that reverses only Arabic characters

Open mbaraa opened this issue 2 years ago • 0 comments

Added an another function ReverseArabicChars() that reverses only Arabic characters

** example: ** ** The text ** اذهب الى الحديقة الprivate وال park العمومي

is outputted like this suppoesed using ReverseArabicChars(ToGlyph(s))

and like this output using Reverse(ToGlyph(s))

the reason it was added as a separate function is because it doesn't execute in a linear time 😅

mbaraa avatar Nov 12 '21 08:11 mbaraa