标签:for ar c har 字符串 as r oc array
$a="asdfghjklqwe"
$b=$null
foreach ($_ in ("$a".length-1)..0)
{
$b +=$a[$_]
}
$b
$a="asdfghjklqwe"
$b = $a.ToCharArray()
[array]::Reverse($b)
$b -join ‘‘
标签:for ar c har 字符串 as r oc array
原文地址:http://www.cnblogs.com/dreamer-fish/p/3935046.html