mirror of
https://github.com/danielstjules/Stringy.git
synced 2025-08-12 00:04:11 +02:00
Update example in readme
This commit is contained in:
@@ -259,8 +259,7 @@ s('Camel-Case')->camelize(); // 'camelCase'
|
||||
Returns an array consisting of the characters in the string.
|
||||
|
||||
```php
|
||||
s('Fòô Bàř')->chars();
|
||||
// [F', 'ò', 'ô', ' ', 'B', 'à', 'ř']
|
||||
s('fòôbàř')->chars(); // ['f', 'ò', 'ô', 'b', 'à', 'ř']
|
||||
```
|
||||
|
||||
##### collapseWhitespace()
|
||||
|
Reference in New Issue
Block a user