develooper Front page | perl.beginners | Postings from January 2002

split, ignoring spaces

Thread Next
Alex Harris
January 9, 2002 06:51
split, ignoring spaces
Message ID:

I'm doing the following to seperate out items:

@date = split(/ /,$date);

However, I keep ending up with a space in @date[3].  How do I totally 
eliminate spaces so only words/numbers appear in the array?

MSN Photos is the easiest way to share and print your photos:

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About