Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Get Vowels from sentence

by SheridanCat (Pilgrim)
on Jan 04, 2007 at 05:07 UTC ( [id://592869]=note: print w/replies, xml ) Need Help??


in reply to Get Vowels from sentence

When you say "pull all vowels" and "get vowels" what are you hoping to end up with? Do you want all the vowels returned to you in some structure or do you want the original string back without vowels?

Replies are listed 'Best First'.
Re^2: Get Vowels from sentence
by SheridanCat (Pilgrim) on Jan 04, 2007 at 05:11 UTC
    If it's the latter you're after, try this:
    my $string = "There once was a doggy in the window. I went into the st +ore and inquired about the price, the doggy was too nice to ever thin +k twice, so now I have a doggy to care for."; $string =~ s/[aeiou]//gi;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://592869]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (2)
As of 2024-04-26 04:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found