chrs
ErrorsCollection

chrs

Synthesised documentation from type/Nil type/Cool

From type/Nil

See Original text in context

Will return \0, and also throw a warning.

From type/Cool

See Original text in context

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.