Chr()

Syntax

Text$ = Chr(CharacterValue)
Description
Returns a string created with the given character value.

Parameters

CharacterValue The character value.

Return value

Returns a string created with the given character value.

Example

  Debug Chr(33) ; Will display "!"

Remarks

A table with all Ascii values and their relating figures may be found here.

This command works in Unicode mode and then returns the related characters associated to the given value.
  Debug Chr(8364) ; will display "€"
  Debug Chr($BC)  ; will display "¼"
  Debug Chr($BD)  ; will display "½"

See Also

Asc()

Supported OS

All

<- Bin() - String Index - CountString() ->