|
getSuggestionString(strInput)
This is the main method of ASP DidyouMean. You input a search query as a string.
It returns a highly optimized spelling suggestion aimed at providing better search-engine results.
If the string has no spelling mistakes, then getSuggestionString returns an empty string ("").
Example
<%
set objDYM = server.createObject("ASPDidYouMean.DidYouMean")
strQuery = "Any strinng at all"
strSuggest = objDYM.getSuggestionString(strQuery)
response.write strSuggest
set objDYM = nothing
%>
|