extract string
Drew Van Zandt
drew.vanzandt at gmail.com
Wed Jan 11 11:52:01 EST 2006
perl
split on the char pair ,"
Take last element of returned array, either remove the " at the end or
replace the one you ate with the split.
Keep a running variable containing largest length encountered so far.
Add 10 to be safe. ;-)
Any regexp I have to think about for more than 30 seconds is unlikely to be
used unless it greatly improves my execution speed...and then only if I have
a LOT of data to process. :-)
--Drew "Not showing you my crufty perl" VZ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.gnhlug.org/mailman/private/gnhlug-discuss/attachments/20060111/f3735a84/attachment.html
More information about the gnhlug-discuss
mailing list