ASPSpellLink.spellingSuggestions(strWord)

The method spellingSuggestions  returns spelling suggestions for a string in ASP.  It returns an array of suggestions.

ASP VBScript Source Code:

<% 
dim myLink, myResult
set myLink = new AspSpellLink

myResult = myLink.spellingSuggestions("mispellt")

set myLink=nothing
response.write join(myResult,",") ' write the outcome to the screen
%>

Outcome: misspell,misspelled,misplay,misspells,misplace

Learn more