1
0
mirror of https://github.com/danielstjules/Stringy.git synced 2025-08-06 21:36:31 +02:00

Update titleize description in readme

This commit is contained in:
Daniel St. Jules
2015-07-29 02:09:00 -07:00
parent 7377aabf61
commit ad6d32080f

View File

@@ -800,8 +800,8 @@ s('“I see…”')->tidy(); // '"I see..."'
##### titleize([, array $ignore])
Returns a trimmed string with the first letter of each word capitalized.
Ignores the case of other letters, preserving any acronyms. Also accepts
an array, $ignore, allowing you to list words not to be capitalized.
Also accepts an array, $ignore, allowing you to list words not to be
capitalized.
```php
$ignore = ['at', 'by', 'for', 'in', 'of', 'on', 'out', 'to', 'the'];