Combined from primary sources listed below.
See primary docmentation in context for method chrs.
Will return \0, and also throw a warning.
See primary docmentation in context for routine chrs.
sub chrs(*@codepoints --> Str:D)
method chrs()
Coerces the invocant (or in the sub form, the argument list) to a list of integers, and returns the string created by interpreting each integer as a Unicode codepoint, and joining the characters.
say <67 97 109 101 108 105 97>.chrs; # OUTPUT: «Camelia»
This is the list-input version of chr. The inverse operation is ords.