in reply to parse a string
#!/usr/bin/perl $string = "something, something, something, this"; $string = reverse $string; $string =~ s/\S+\s//; $string = reverse $string; print $string;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: parse a string
by japhy (Canon) on May 03, 2002 at 15:12 UTC |