Functions that end with a B
|ASCB||Returns the ANSI number for the first character in a text string (Integer).|
|CHRB||Returns the character with the corresponding ANSI number (String).|
|INPUTB||Returns the open stream of an Input or Binary file (String).|
|INSTRB||Returns the byte position of a substring within a larger string (Long).|
|LEFTB||Returns a number of characters from the left of a string (String).|
|LENB||Returns the number of characters in a string (Long).|
|MIDB||Returns the text string which is a substring of a larger string (String).|
|RIGHTB||Returns the number of characters from the right of a text string (String).|
You can use the CHRB function is used with byte data contained in a String.
Instead of returning a character, which may be one or two bytes, ChrB always returns a single byte.
Visual Basic for the Macintosh does not support Unicode strings.
Therefore, ChrW(n) cannot return all Unicode characters for n values in the range of 128 - 65,535, as it does in the Windows environment.
Instead, ChrW(n) attempts a "best guess" for Unicode values n greater than 127.
Therefore, you should not use ChrW in the Macintosh environment.
If the platform does not support Unicode then the behaviour is identical to the Chr function.
© 2022 Better Solutions Limited. All Rights Reserved. © 2022 Better Solutions Limited TopPrevNext