Results 1 to 2 of 2

Thread: Get an array of keys, values from Hash

Threaded View

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2005
    Location
    Cebu
    Posts
    607

    Resolved Get an array of keys, values from Hash

    Say I have an array $a = array('bob' => 'Robert', 'bill' => 'William'), how can I get an array of ('bob', 'bill') and an array of 'Robert', 'William'?

    Thanks in advance.
    Last edited by nebulom; Oct 1st, 2007 at 12:47 AM.

Posting Permissions

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



Click Here to Expand Forum to Full Width