By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,516 Members | 1,137 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,516 IT Pros & Developers. It's quick & easy.

How to get the upper bound of an array?

P: n/a
In a web page, I have a script that splits a stream of data into an
array like so: Msgs = MyText.split("|");

How can I find out how many Msgs were created?

I've tried UBound in various ways but can't get anything to work:
var UB = UBound(Msgs);
var UB = Msgs.ubound;

Help?
Dec 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
VK
var numOfMessages = Msgs.length;

Dec 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.