testing for substrings in perl
Fred Souza
fred at storming.org
Sun Oct 5 09:26:34 PDT 2003
> I think it might just be easier to do a straight comparison of the first N
> characters of the two strings where N = length of the directory name.
>
> Any suggestions?
You might try index() or substr().
Fred
--
"MOTHER:
Half a word."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20031005/b610f782/attachment.bin
More information about the freebsd-hackers
mailing list