$array=1..5 $array[1..($array.count-1)+0] 结果:2,3,4,5,1 转载于:https://www.cnblogs.com/dreamer-fish/p/4037044.html