Java

Moderators: zibadian
Number of threads: 7818
Number of posts: 18218

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
hi all (how to count vowels) Posted by iProActive on 30 Sept 2012 at 8:08 PM
hello guys, i just started studying programming using java

could you guys teach me how to count vowels in a string?
i know there are so many related post that could easily be searched but
all their codes has the operation ==

but what i need is a code that could count all the vowels in a string but
i only need to use a single =




hope you could help me :)

tnx in advance
Report
Re: hi all (how to count vowels) Posted by LateHatred on 6 Apr 2013 at 1:06 AM
why not use the variable.equalsIgnoreCase("a")



 

Recent Jobs