写个函数吧
函数:xxx
Dim f() As String = Args(0)
Dim i As Integer = Args(1)
Dim j As Integer = f.Length
Dim a(j-1) As String
System.Array.Copy(f,0,a,0,i)
System.Array.Copy(f,i+1,a,i,j-i-1)
Return a
测试:
Dim Names() As String
Names = New String() {"中国","美国","日本","俄罗斯","美国","日本","俄罗斯"}
Names = Functions.Execute("xxx",Names,0)
For i As Integer = 0 To Names.Length - 1
Output.show(Names(i))
Next