powered by
A function to de-pluralize '-s' and '-es' words. This function is very basic and does not have many rules. The function simply removes '-s' or '-es' from words.
singularize(word)
A word
Returns the word in singular form
# NOT RUN { "fox" singularize("foxes") # }
Run the code above in your browser using DataLab