The example in the header shows exactly how to enumerate the arrays. Since the header also shows which element contains what data, simply modify the example a bit..

Using the example, use the outer $X For/Next loop. Instead of an inner loop, you'd reference a specific element - the one containing the adapter name
If InStr($Array[$X][0], 'VPN')
'This is the VPN adapter!' ?
EndIf

However, since the code explicitly avoids logical adapters and reports ONLY on physical adapters, this would be unnecessary, don'tcha think? \:D

Glenn

PS - ALWAYS try the example code in the UDF headers using a simple little script - it's the best way to learn how to use the UDF and see how the data is returned.
_________________________
Actually I am a Rocket Scientist! \:D