mirror of
https://github.com/danielstjules/Stringy.git
synced 2025-08-07 05:46:42 +02:00
Update titleize description in readme
This commit is contained in:
@@ -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'];
|
||||
|
Reference in New Issue
Block a user