43 of 286
29 Chr Type Function returning String Invocation Chr(arg) Parameter Method Type Description arg ByVal integral The character code to place in the string. Discussion This function returns a string containing a single character having the value of the supplied parameter. If the parameter is a multi-byte type such as Integer or Long the least significant byte of the value is used and the remaining bytes are ignored. Tables of ASCII character values may be found in many places on the Internet. A search for “ASCII table” or “ASCII chart” will produce many results. Example Dim s as String s = Chr(33) After execution, s will be "!" because 33 is the decimal code for the exclamation mark. See Also Asc