Prints out the search string or indicates that there is no search string. If there is a search string, it is printed within square brackets, so beginning and ending whitespace can be seen. For example:
printsearch
[ foo ]
meaning that the search string is the word foo preceded by one space and followed by two spaces. See isearch, fsearch, bsearch, ? command, and / command.