Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -1,13 +0,0 @@
|
|||
function reverse($a, $sep = "") {
|
||||
if($a.Length -gt 0) {
|
||||
$a = $a[($a.Length -1)..0] -join $sep
|
||||
}
|
||||
$a
|
||||
}
|
||||
$line = "rosetta code phrase reversal"
|
||||
$task1 = reverse $line
|
||||
$task2 = ($line -split " " | foreach{ reverse $_ }) -join " "
|
||||
$task3 = reverse ($line -split " ") " "
|
||||
$task1
|
||||
$task2
|
||||
$task3
|
||||
Loading…
Add table
Add a link
Reference in a new issue