Chr (function)

<< Click to Display Table of Contents >>

Chr (function)

Chr(Num)

Returns the character associated with the specified character code from the Unicode character table (UCS-2).

The parameter Num can take an integer value between 0 and 32767.

See also: Asc

Example:

Sub Main

 Dim i, Msg

 For i = Asc("A") To Asc("Z")

         Msg = Msg & Chr(i)

 Next i

 MsgBox Msg

End Sub