Project

General

Profile

$spellcheck » History » Version 1

Per Amundsen, 06/02/2017 05:49 PM

1 1 Per Amundsen
_Added in 2.9_
2
3
*$spellcheck(word, [N])*
4
5
Returns the Nth spellchecking suggestion for the specified word.
6
7
*Parameters*
8
9
word - The word to spellcheck
10
[N] - if N = 0, number of suggestions, otherwise the Nth suggestion.
11
12
*Example*
13
14
<pre>
15
; Prints the first suggestion for the misspelled word 'wrod'.
16
//echo -ag $spellcheck(wrod, 1)
17
</pre>