Demo Page : http://toolsqa.com/automation-practice-form/
eg:
Contains( The element from the page , the part of the element we need to find)
//a[text()='Selenium Automation Hybrid Framework']
//a[contains( text() , 'Selenium Automation' )]
//select[@id='continents']
//select[contains(@id , 'continent')]