Project

General

Profile

Actions

Added in 2.9

$spellcheck(word, [N])

Returns the Nth spellchecking suggestion for the specified word.

Parameters

Parameter Description
word The word to spellcheck
[N] if N = 0, number of suggestions, otherwise the Nth suggestion.

Example

; Prints the first suggestion for the misspelled word 'wrod'.
//echo -ag $spellcheck(wrod, 1)

Updated by Per Amundsen about 1 year ago · 2 revisions

Also available in: PDF HTML TXT