RosettaCodeData/Task/Reverse-a-string/PowerShell/reverse-a-string-2.psh

2 lines
37 B
Plaintext

[string]::Join('', $s[$s.Length..0])