How to distinguish a variable value in VB is English or English letters?

zhaozj2021-02-08  259

How to distinguish a variable value in VB is English or English letters? DIM I% for i = 1 to Len (Text1.text) Msgbox ASC (MID (Text1.Text, i, 1)) Next'ASC value at 0-255 for standard ASCII characters. You 'greet MSDN You can find English letters ASCII Value, when the returned value is 5 digits, it is definitely not an English character, but it is possible to be Japanese and other non-English language characters. I don't know if it is not the English characters, it is enough to join the time: 2001-2- 22 Readings: 83

转载请注明原文地址:https://www.9cbs.com/read-1582.html

New Post(0)