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

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

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -