How to locate an element by Xpath with its dynamic title

Example: I have two images ImageHTMLCode some_date1 and some_date2 are generated dynamically. How to locate them using CSS locator ? click css=img[title*=’since’] : will not work because it won’t make difference between the two images. Here is the solution: If you want to click on the first try this : //IMG[contains(@title,’Critical since’)][1]