How to search a person by first name or by first alphabet of name using SearchBar
===

I want to use a search bar to search a person by first name or by first alphabet of name.
Suppose I have a list of 100 names in a table view. i want the names of all persons starting with alphabet p. search should display all the contacts with alphabet given in search bar. 