•
•
•
•
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 426,027 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 1,693 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: 1631 | 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,901
Reputation:
Rep Power: 32
Solved Threads: 117
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!
![]() |
•
•
•
•
•
•
•
•
DaniWeb HTML and CSS Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- 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