In .NET, I need (if possible) to distinguish between different types of Japanese number strings.
In Japanese numbers, numbers can be written in different ways, for example, for "1" there are characters "1" , "β
°" , "β
" , "β " in half-width characters.
I need to compare strings like "MyString1" and "MyStringβ " , and for obvious reasons they are not equal. I am wondering if there is a way to automatically change characters like "β " to "1" automatically?
EDIT
I know that the obvious answer would be to make a list of all possible characters like "(" (their finite number) and replace them in the target line. But this is not a very βgoodβ way to get around this, in my opinion, and not very reliable ... therefore, if there is a general way, I would rather use this.
EDIT
Apologies, I wrote earlier that bot "β " and "1" are considered numbers, but they are not. IsNumeric "β " appears as false. Therefore, I think that in general there can be no way to switch from one to the other, except using direct substitution.
source share