Answers.Body: <p>For undertaking a single search, which may not be what you are after, you can use Search Builder (under Search in Admin menu) and set Contact Type = Individual AND Last Name = Head</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-19T23:34:48.620Z
Answers.LastActivityDate: 2016-01-19T23:34:48.620Z
Answers.UserDisplayName: petednz - fuzion
Answers.Body: <p>It can be done navigating to <strong>Administer -> Customize Data and Screens -> Search Preferences</strong>, the first option is <strong>Automatic Wildcards</strong>, disable it.</p>
  
  <blockquote>
    <p>If enabled, wildcards are automatically added to the beginning AND end of the search term when users search for contacts by Name. EXAMPLE: Searching for 'ada' will return any contact whose name includes those letters - e.g. 'Adams, Janet', 'Nadal, Jorge', etc. If disabled, a wildcard is added to the end of the search term only. EXAMPLE: Searching for 'ada' will return any contact whose last name begins with those letters - e.g. 'Adams, Janet' but NOT 'Nadal, Jorge'. Disabling this feature will speed up search significantly for larger databases, but users must manually enter wildcards ('%' or '_') to the beginning of the search term if they want to find all records which contain those letters. EXAMPLE: '%ada' will return 'Nadal, Jorge'.</p>
  </blockquote>
  
  <p><strong>Please note:</strong> forgot to mention that changing this option will change the behaviour for all contact search forms, not sure if that's what you want to achieve, if it's not, @petednz comment is a very good and better answer</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-19T18:51:42.843Z
Answers.Text: You could also use Search Builder (under Search in Admin menu) and set Contact Type = Individual AND Last Name = Head.
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-19T19:37:08.047Z
Answers.Text: Very good addition @petednz, made me realize I assumed the question was to change search's default behavior. Answer edited.
Answers.UserDisplayName: Andrei
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-19T23:34:06.423Z
Answers.Text: cool - i will add my as an alternate answer then
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-19T15:01:13.380Z
Answers.LastActivityDate: 2016-01-19T19:32:15.020Z
Answers.LastEditDate: 2016-01-19T19:32:15.020Z
Answers.UserDisplayName: Andrei
Body: <p>Is there a way for e.g. searching by last name, of producing exact search results.</p>
  
  <p>So if I searched for Last Name, Head.  I currently get email addresses with head in etc not just people with the surname head.</p>
  
  <p>Thanks.</p>
  
  <p>CIVICRM 4.5.8
  Drupal</p>
  
Tags: <search><search-results>
Title: Exact Search Results
ThreadText: # Exact Search Results
  
  (Asked by: username_0 on 2016-01-19)
  
  Is there a way for e.g. searching by last name, of producing exact search results.
  
  So if I searched for Last Name, Head. I currently get email addresses with head in etc not just people with the surname head.
  
  Thanks.
  
  CIVICRM 4.5.8
  Drupal
  
  **Tags:** search, search-results
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2016-01-19. Score: 4 | Accepted answer
  
  It can be done navigating to **Administer -> Customize Data and Screens -> Search Preferences**, the first option is **Automatic Wildcards**, disable it.
  
  > If enabled, wildcards are automatically added to the beginning AND end of the search term when users search for contacts by Name. EXAMPLE: Searching for 'ada' will return any contact whose name includes those letters - e.g. 'Adams, Janet', 'Nadal, Jorge', etc. If disabled, a wildcard is added to the end of the search term only. EXAMPLE: Searching for 'ada' will return any contact whose last name begins with those letters - e.g. 'Adams, Janet' but NOT 'Nadal, Jorge'. Disabling this feature will speed up search significantly for larger databases, but users must manually enter wildcards ('%' or '\_') to the beginning of the search term if they want to find all records which contain those letters. EXAMPLE: '%ada' will return 'Nadal, Jorge'.
  
  **Please note:** forgot to mention that changing this option will change the behaviour for all contact search forms, not sure if that's what you want to achieve, if it's not, @username_1 comment is a very good and better answer
  
  > **Comments:**
  > **username_1**: You could also use Search Builder (under Search in Admin menu) and set Contact Type = Individual AND Last Name = Head.  
  > **username_2**: Very good addition @username_1, made me realize I assumed the question was to change search's default behavior. Answer edited.  
  > **username_1**: cool - i will add my as an alternate answer then  
  
  ---
  
  ### Answer by username_1 on 2016-01-19. Score: 2
  
  For undertaking a single search, which may not be what you are after, you can use Search Builder (under Search in Admin menu) and set Contact Type = Individual AND Last Name = Head
  
  
  ---
  
  