Android Question array max index

Discussion in 'Android Questions' started by pesquera, Apr 28, 2015.

  1. pesquera

    pesquera Active Member Licensed User

    hi, is there a method to know how many index are assigned?
    I'm assigning it with Split, and need to know the top index
    thanks
     
  2. DonManfred

    DonManfred Expert Licensed User

    Assuming the array is named xyz; xyz.Size (using a List) or xyz.length (using an Array)
     
  3. Erel

    Erel Administrator Staff Member Licensed User

    Actually it is xyz.Length
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice