【发布时间】:2013-07-18 09:43:06
【问题描述】:
我的数组包含这样的字符串:
eth1
eth12
eth20
eth35
eth5
我想要另一个只包含这些字符串数量的数组:
1
12
20
35
5
我尝试了 Trimend() 函数,但我不知道如何指定这个...
感谢您的帮助
【问题讨论】:
-
也许您可以使用
Replace("eth", "")函数?
标签: arrays string powershell powershell-3.0