Vyxapedia

Element - C - Chr / Ord

Characters: C


Description

Convert between characters and ordinals


Overloads

  • num - chr(a)
  • str - ord(a) if length 1 else list of ordinals

Examples

  • 65 C = `A`
  • 8482 C = `™`
  • `Z` C = 90
  • `ABC` C = ⟨65|66|67⟩
  • ⟨123|124|125⟩ C = ⟨`{`|`|`|`}`⟩
  • `` C = ⟨⟩