formatting of search string