Documentation for method Str.flip

From Str

flip

multi sub    flip(Str:D ) returns Str:D
multi method flip(Str:D:) returns Str:D

Returns the string reversed character by character.

Examples:

"Perl".flip;  # lreP
"ABBA".flip;  # ABBA