[Javascript] Arrays

Andrew Gibson andyg at ihug.co.nz
Mon Jun 11 21:04:30 CDT 2001


Lets say I have an array

myarray=new Array[3]  ;

myarray[0]='Andrew'
myarray[1]='Lewis'
myarray[2]='Gibson'

How could I

1. Search the array for a key word/s
2. Order the array, say alphabetically or numerically?

Andrew Gibson




More information about the Javascript mailing list