On Tuesday, September 2, 2003, at 01:12 PM, rkl wrote:

How to test for exact string match?
this doesn't work:
$mystr == "exactstr"

You're very close. == is for testing numbers, just change it to eq which is for testing strings:


$mystr eq 'exactstr'

Hope that helps.

James


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to