singular($str)
Parameters: |
|
---|---|
Returns: |
A singular word |
Return type: |
string |
Changes a plural word to singular. Example:
echo singular('dogs'); // Prints 'dog'
singular($str)
Parameters: |
|
---|---|
Returns: |
A singular word |
Return type: |
string |
Changes a plural word to singular. Example:
echo singular('dogs'); // Prints 'dog'
Please login to continue.