Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have a string, and I want to find which one of the following 3 characters come first (ie, is on the left-most side of a given string) ?
for example:
and so on.qwert(ui)" should return ( qwerty"(ff) should return " qwer)()(" should return )
THX
Originally posted as a Categorized Question.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How to find which comes first: '"', '(', or ')'?
by merlyn (Sage) on Oct 17, 2000 at 07:51 UTC |
Back to
Seekers of Perl Wisdom