Chr

Function that returns the character represented by an Ascii code.

Syntax
      Chr (ascii_code)

Chr (65) will return A

Examples

Dim strDemo
strDemo = Chr (65)
> A

PowerShell equivalent, convert ASCII 65 to a character value and then store that value in the variable $strDemo:

$strDemo = [char]65

“You can easily judge the character of a man by how he treats those who can do nothing for him” ~ James D. Miles

Related VBScript commands

Asc - Returns the Ascii code of a character.


 
Copyright © 1999-2025 windevcluster.com
Some rights reserved