Hey all, I am a perl guy buy night but right now I have to create a bunch of SQL queries in VBScript. I have a collection of strings in an array and I want to count how many elements I have, here is an example in perl:
I would then use the scalar comment to see how many elements are in the array
and the output would be 3. Is there a similar function that I can use in vbscript that will print out the number of elements that an array has?
Thanks,
-T
-How important does a person have to be before they are considered assassinated instead of just murdered?
-Need more cow bell!!!
Code:
my @test = ('1','a','6','happy')
Code:
print scalar(@test)
Thanks,
-T
-How important does a person have to be before they are considered assassinated instead of just murdered?
-Need more cow bell!!!