in reply to Re: Character Count
in thread Character Count
From your first answer, it's not immediately apparent to those of us not familiar with the fact that the tr operator that it returns the number of matched characters.
For those of us who read replies in the hopes of learning something, extra information like this would be very useful...especially, I think, in a case such as your first reply here.
Sure, I spent half an hour (amidst doing other things) reading the perldoc -f tr and then perldoc perlop manpages...And I'm not likely to forget anytime soon that tr returns the number of characters matched...But somehow, the reply of tr/a-zA-Z0-9// in toto I find wanting...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Character Count
by davido (Cardinal) on Oct 16, 2003 at 05:26 UTC | |
by Yendor (Pilgrim) on Oct 16, 2003 at 05:47 UTC |