Hi
with an example it will be easier to understand : I want that the search "ö" in the string "oooo" returns true (and that the search "o" in the string "ööööö" returns also true)
I've seen the nsICollationFactory but it allows only to make sorts...
indexOf() accented insentivite
-
- Posts: 163
- Joined: February 10th, 2015, 8:00 am
Re: indexOf() accented insentivite
indexOf() does not return true or false, it returns the index at which the substring is found, or -1 if the substring cannot be found. Hence searching for "ö" in the string "oooo" does return -1, as expected.
-
- Posts: 120
- Joined: October 14th, 2004, 2:06 pm
Re: indexOf() accented insentivite
yes I know... try to make better : I want that searching "o" or "ö" inside a string gives the same result
-
- Posts: 163
- Joined: February 10th, 2015, 8:00 am
Re: indexOf() accented insentivite
Ok I misunderstood your question. I have no clue whether what you ask is possible.