Link to home
Create AccountLog in
Avatar of LeeDerbyshire
LeeDerbyshireFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Question about ASP/VBScript strings and MidB values.

I've looked for detailed information regarding the double-byte nature of ASP/VBScript strings but I can't find anything.  I have noticed that if you get, say, Mid(s, i, 1) and MidB(s, 2 * i), 1), the values are different.  The MidB values seems to be 0 in most ASCII strings, but is sometimes the same as the Mid value in strings with extended characters in, and is sometimes something different (often a more exact value) in other extended strings (like hebrew ones).

Can anyone explain what exactly in in there?
ASKER CERTIFIED SOLUTION
Avatar of thefritterfatboy
thefritterfatboy

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer