aspell_check-raw
(PHP 4 <= 4.2.3)
aspell_check-raw — 在不改變單字的大小寫和前後空白格的條件下檢查單字的拼法。
Description
boolean aspell_check_raw
( int $dictionary_link
, string $word
)
aspell_check_raw() 檢查拼字但並不會先做大小寫轉換或剔除前後空格。 拼對了傳回真, 錯則傳回否。
Example#1 aspell_check_raw()
$aspell_link=aspell_new ("english");
if (aspell_check_raw ($aspell_link, "test")) {
echo "This is a valid spelling";
} else {
echo "Sorry, wrong spelling";
}