•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 392,070 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,246 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 1584 | Replies: 1
![]() |
•
•
Join Date: Mar 2005
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
Couls someone please take a quick look at this attempt at a function and see if they can find any problems with it:
{
var resultString;
resultString = ";
for (var position = 0; position < aString.length; position = position + 1)
{
if isVowel(aString.charAt(position))
{
resultString = aString.charAt(position) + aString.charAt(position) + resultString
}
else
{
resultString = aString.chatAt(position) + resultSTring
}
};
return resultString
}
{
var resultString;
resultString = ";
for (var position = 0; position < aString.length; position = position + 1)
{
if isVowel(aString.charAt(position))
{
resultString = aString.charAt(position) + aString.charAt(position) + resultString
}
else
{
resultString = aString.chatAt(position) + resultSTring
}
};
return resultString
}
•
•
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,879
Reputation:
Rep Power: 32
Solved Threads: 107
Umm ... what do you want it to do?
Dani the Computer Science Gal
Do you run a computer-related website? Feature it in our niche link directory!
Do you run a computer-related website? Feature it in our niche link directory!
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb HTML and CSS Marketplace
- Need Advice on for loops with vowels (Java)
- function to count vowels (C++)
- Write sentence, then return # of vowels - Need help, plz. (C++)
- Noob help! (C++)
Other Threads in the HTML and CSS Forum
- Previous Thread: tutoring for CSS ?
- Next Thread: Image appears on some browsers, doesn't on others



Linear Mode