0
点赞
收藏
分享

微信扫一扫

获取元素所在数组位置

编程练习生J 2023-04-02 阅读 36

[array]::indexof($array,‘bbb’)

参考:https://devblogs.microsoft.com/scripting/find-the-index-number-of-a-value-in-a-powershell-array/

举报

相关推荐

0 条评论