Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

removing all vowels from any given text

843785Jul 8 2008 — edited Jul 8 2008
I need to write a java prograam that will remove all the vowels except the initial one. Can anyone help me out because I'm really unsure on how to write it so it removes the vowels.


Real estate agent advertisements frequently contain words from which
?
all vowels ? except for an initial one ? have been removed. Thus,

 Desirable unfurnished flat in quiet residential area

might become

 Dsrbl unfrnshd flt in qt rsdntl ar


Write a complete Java program that reads in a normal one-line
description of a property (terminated by a carriage-return) and outputs the
corresponding advertisement.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 5 2008
Added on Jul 8 2008
6 comments
714 views