What Do Chr, Chrb and Chrw Do?

What Do Chr, Chrb and Chrw Do?
★ Key Takeaways

Chr and Chr$ Return the Character Associated with an Ascii or Ansi Character Code. Chrb and Chrb$ Return a One-Byte String Variant or a One-Byte String, Respectively. Chrw Returns a Unicode Character; However, on Systems That Don’t Support the Unicode Character Set, the Function Behaves Identically to the Chr Function.

Explore detailed explanations regarding What Do Chr, Chrb and Chrw Do.

Direct Answer • Key Takeaway

Chr and Chr$ Return the Character Associated with an Ascii or Ansi Character Code. Chrb and Chrb$ Return a One-Byte String Variant or a One-Byte String, Respectively. Chrw Returns a Unicode Character; However, on Systems That Don’t Support the Unicode Character Set, the Function Behaves Identically to the Chr Function.

Frequently Asked Questions

Maya Lin-Takahashi
Author

Maya Lin-Takahashi

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.