vb.net - Compare Two Hebrew Strings Alphabetically -


i know can use string.compare(stringa, stringb) compare 2 strings , see 1 comes first alphabetically

however, tried 2 hebrew strings, , doesn't compare alphabetically.

is there way this, or have change encoding?

try

string.compare(stringa, stringb, new cultureinfo("he"), compareoptions.none) 

where he code hebrew.

there several overloads compare. here documentation example above.


Comments

Popular posts from this blog

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -

android - MPAndroidChart - How to add Annotations or images to the chart -