I'm working on a task to search specific characters/string from Hebrew text using various **c# methods like IndexOf and Substring.**
But I'm facing an critical issue related to Bidirectional text, this issue occurred when Hebrew text/line start with English digits/Non-Hebrew characters.
To understand this problem please consider below example:
Hebrew text as Input - 724.79 <₪) סה״כ לתשלום
String/key for which index need to be find from above text - סה״כ לתשלום
Now, as per Hebrew's nature(Right-To-Left) index of search key should be 0. But, I found index other than 0 due to input text is Bidirectional text containing non-hebrew characters.
How to deal with this situation? Please help me in this regards.
Thank you