Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jun 2002
    Posts
    42
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Size of array after using Split?

    Is there any way to determine the size of the array produced when you use the Split() function?

  • #2
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,043
    Thanks
    0
    Thanked 251 Times in 247 Posts
    ubound(arrayName) returns the size of the array.

    you can loop thru the array in two ways:

    for each item in arrayName
    response.write item & "<br>"
    next

    or

    for i=0 to ubound(arrayName)-1
    response.write arrayName(i) & "<br>"
    next


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •