What would be the proper syntax for this line if I want it to return 1 if anything in the $imageFilename contains .jpg? I know eq isnt right.
if ($imageFilename eq .jpg) { return 1; }
if ($imageFilename eq .jpg) { return 1; }
Warriors come out to plaAAaayyy! 

Comment