Create 2 String Variables IF $file1 contains ‘.’ THEN substring($file1,0,find($file1,’.’)) ELSE $file1 and 2nd Variable
IF $file2 contains ‘.’ THEN substring($file2,0,find($file2,’.’)) ELSE $file2
Now Compare these 2 variables in decision box. If they are equal take it to Successful Message.
Note: Contains function use appropriately after checking Mendix Documentation