mirror of
https://github.com/danielstjules/Stringy.git
synced 2025-08-11 15:54:04 +02:00
Fix titleize example
This commit is contained in:
@@ -805,8 +805,8 @@ an array, $ignore, allowing you to list words not to be capitalized.
|
|||||||
|
|
||||||
```php
|
```php
|
||||||
$ignore = ['at', 'by', 'for', 'in', 'of', 'on', 'out', 'to', 'the'];
|
$ignore = ['at', 'by', 'for', 'in', 'of', 'on', 'out', 'to', 'the'];
|
||||||
s('If you optimize everything, you will always be unhappy.')->titleize($ignore);
|
s('i like to watch television')->titleize($ignore);
|
||||||
// 'I Like to Watch television'
|
// 'I Like to Watch Television'
|
||||||
```
|
```
|
||||||
|
|
||||||
##### toAscii()
|
##### toAscii()
|
||||||
|
Reference in New Issue
Block a user