- Perl 6 Deep Dive
- Andrew Shitov
- 25字
- 2021-07-03 00:05:54
Reversing a string
The flip method returns the string in which all the characters go in a reversed order, as follows:
say 'Rose'.flip; # esoR
The flip method returns the string in which all the characters go in a reversed order, as follows:
say 'Rose'.flip; # esoR