PHP Manual
Prev |  | Next

# aspell_check-raw

aspell_check-raw -- check a word without changing its case or trying to trim it

## Description

`boolean aspell_check_raw`(int dictionary_link, string word);

aspell_check_raw() checks the spelling of a word, without changing its case or trying to trim it in any way and returns true if the spelling is correct, false if not.

Example 1. aspell_check_raw
    $aspell_link=aspell_new("english");
    if (aspell_check_raw($aspell_link,"testt")) {
        echo "This is a valid spelling";
    } else {
        echo "Sorry, wrong spelling";
    }

Prev | Home | Next
aspell_check | Up | aspell_suggest