I can't believe this has me stymied, but here goes...

I'm processing a string of chars in a loop, and the string can contain
multiple lines; that is, the string has embedded "\n" chars in it. For
display purposes, I need to count the number of "\n" chars in each
string. Is there a simple way to do this?

Thank you,

Barry Brevik
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to