說一個單詞

功能 singular($string),將複數單詞轉換為單數。為了得到完美的結果引數,$string 應該是一個單詞。該函式將返回 string。

echo singular("books"); //prints 'book'