hi Cor,
First thanks for replying.
"Cor" <(E-Mail Removed)> 在郵件 news:OF0V3Ze%(E-Mail Removed) 中撰
寫...
> Hi Algren,
>
> Ascii string (I will be before Armin), do you mean the amount of 7 bits
> occurences in the string?
>
I think so. Just the effect of the first two characters being wider than
other alpha numerics
> Normaly a string gives back the lenght of char in the used unicode. (I do
> not think that is different with Chinese with other types).
>
> I never heard of a mixed up string which has different types of unicode in
> it.
Perhaps what I need is a way of distinguishing a double-byte word from
alpha-numerical characters in the same used unicode.
The problem is that with unicode I think every charater is treated as two
bytes.
>
> But just my thoughts,
>
> Cor
>
>
> >
> > I am wondering how I can get the ascii lengh of a string in VB.NET?
> > Especially that the string consists of alpha numerics as well as chinese
> > (double-byte) characters. Say I have a string "AB123" with the first
2
> > characters being double-byte, using Len() on that string would return me
> 5.
> > How can I get a value of 7 instead?? is there any VB.NET function that'd
> > achieve that?
> >
>
>
|