09-08-2009 04:34 PM
I am writing a piece of code that is manipulating the Root Description. Here's what I have. :
Dim DescriptionArray
DescriptionArray = Split(RootPropGet("description"), " ", -1, 1)
After this command, I now want to figure how long (how many items) DescriptionArray has. What is the command for that?
Thanks,
Brian
Solved! Go to Solution.
09-09-2009 04:00 AM
Hello Brian!
The command is UBound. It gives you the highest index of the array. Because VBS starts with index 0 you have to add 1 to get the count.
Matthias
Matthias Alleweldt Project Engineer / Projektingenieur | Twigeater? |
09-09-2009 11:05 AM