[Format]:
P=Asc(X) returns the character code of the first character of the string X.
P=Chr(X) returns the character whose character code is equal to x.
[example]:
( 1)P=Chr(65)
Output the character a, because the ASCII code of a is equal to 65.
(2)P=Asc("A ")
Output 65
2.Len(X): calculate the length of the string X.
[Format]:
P=Len(X)
[description]:
The length of the empty string is 0, and the space character is counted as one character. Although a Chinese character occupies 2 bytes, it is also a word.
[example]:
(1) Make X= "(empty string)
The output result of Len(X) is 0.
(2) let x = "ABCD"
The output of len (x) is 4.
(3) Make X = "VB tutorial "
The output of len (x) is 4.