codeigniter Play with English word with INFLECTOR helper Make a word singular


Example

Function singular($string), convert a plural word to singular. To get perfect result parameter $string should be a single word. The function will return string.

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