If I had the following code:
I'm trying to find a way to call and check to see whether the array of names contains an "ie" or "y" which it will since I created my array to have those. I'm guessing that maybe I'll be using argument.length to check the number?? I'm thinking it needs to be a regular expression to check which ones end in "ie" or "y."
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
//create array list of names, return number of names in array than end in either
//ie or y
var my_array_names=new Array("Ryan Butler", "Pat Lonie", "Michell Lay");
If anyone could shed some light somewhere it would be great.