View Single Post
  #9 (permalink)  
Old Jul 4th, 2004, 09:26
stealthy1 stealthy1 is offline
New Member
Join Date: Jul 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Ok, I have

function dropVowels(resultString)
/************************************************** *****/
/* This function takes a string as its argument and */
/* returns, as its result, a new string similar to the */
/* argument except that the vowels have been removed */
/************************************************** *****/

{
var resultString; //local variable to hold the new string
resultString = '';

for (var resultString = 0; string < resultString.length; string++)
{
if (!isVowel(resultString.charAt(string)))
{
resultString = resultString + 1;
return resultString;
}
}