- reverse
Reverse a string
- The original string stays intact
examples/strings/reverse.cr
text = "The black cat climbed the green tree" rev = text.reverse puts rev puts text puts rev.reverse
text = "The black cat climbed the green tree" rev = text.reverse puts rev puts text puts rev.reverse