Chr

concerns

The Chr function determines the character of the unicode passed in. Value can be between 0 and 65535.

 

Syntax

Chr(Value)

Return value

Type

Description

String

Character of the unicode

Parameter

Use

Name

Type

Passing

Description

Required

Value

Long

ByVal

Value between 0 and 65535.

 

Note

Certain functions can be achieved by specifying control characters that are not directly accessible via the keyboard:

Chr(13) is the so-called carriage return

Chr(10) is a line feed

Chr(8) is a tab jump

 

Example

Dim Article As String, Char As String

Dim Code As Long

Article := "Motor"

Char := Chr(Asc(Artikel))

 

Char = "M"