Str::singular

Posted on November 25, 2016

The Str::singular function converts a string to its singular form. This function currently only supports the English language.

Example usage

$singular = Str::singular('cars');

// car

Parameters

string $value

Return Value

string

0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *