1. A search method comprising: acquiring a first character string and a second character string, the first character string being a search term and the second character string being a term which includes the first character string; extracting a text from a storage device storing a plurality of texts therein; sequentially matching character strings in the text with the first character string and the second character string; registering a first indicator in a storage unit when the first character string is found in the text; changing the first indicator into a second indicator when the second character string is found in the text, a number of first indicators changed to the second indicator being equal to a number of first character strings included in the second character string; the storage unit creating one or more frames including more than one area, wherein the storage unit in which the first indicator and the second indicator are registered is the frame including more than one area, and the number of areas being equal to the number of the first character strings included in the second character string plus one; and outputting the text extracted from the storage device as a search result when the first indicator remains in the storage unit.
1. A search method comprising: acquiring a first character string and a second character string, the first character string being a search term and the second character string being a term which includes the first character string; extracting a text from a storage device storing a plurality of texts therein; sequentially matching character strings in the text with the first character string and the second character string; registering a first indicator in a storage unit when the first character string is found in the text; changing the first indicator into a second indicator when the second character string is found in the text, a number of first indicators changed to the second indicator being equal to a number of first character strings included in the second character string; the storage unit creating one or more frames including more than one area, wherein the storage unit in which the first indicator and the second indicator are registered is the frame including more than one area, and the number of areas being equal to the number of the first character strings included in the second character string plus one; and outputting the text extracted from the storage device as a search result when the first indicator remains in the storage unit. 2. The search method according to claim 1 , wherein the first indicator and the second indicator are registered in each area of the frame, and the text is output as the search result when the first indicator is registered in a predetermined area of the frame.