On Dec 10, 2003, at 2:19 PM, Rod wrote:

What is the easiest way to test the first 3 characters of two words for a match.

IE: "dasf" test "dasg" to return positive.

substr("dasf", 0, 3) eq substr("dasg", 0, 3)


James


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to