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

2 lines
54 B
Plaintext

[Regex]::Matches($s,'.','RightToLeft').Value -join ''