On 11/30/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > how can I test if the nth (n=2) sign of a string is a number [0-9]?
It sounds as if you want to examine a particular character indexed in a string; in Perl that's generally done with the substr() function. You can check whether it's a digit with a pattern match. Is that what you're looking for? Cheers! --Tom Phoenix Stonehenge Perl Training -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/