Separate Urdu words based on non-existent space

I have the word urdu "لاعلم" and other similar words. How can I separate the word that I get "لا" and "علم" separately in the array? I tried to convert words to Unicode characters, but I can’t detect the gap between "لا" and "علم".

English words can be easily separated based on spaces, but I'm stuck on separating Urdu words where there are no spaces.

+4
source share
1 answer

There is no place because his one word means "ignorant." In fact, the separated "لا" and "علم" meant nothing.

( script) , . - . , ZERO WIDTH NON-JOINER (U + 200C) , , .

, , , "ا" , , "ل", "لا". ( ) , "Right Joining", ZWNJ .

+4

Source: https://habr.com/ru/post/1618688/


All Articles