Quote:
|
Originally Posted by ThunderBalls
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; }
|
you are going to need to write a regular expression to check for the .jpg in the filename.
