mirror of
https://github.com/danielstjules/Stringy.git
synced 2025-08-12 08:14:06 +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.
|
Returns an array consisting of the characters in the string.
|
||||||
|
|
||||||
```php
|
```php
|
||||||
s('Fòô Bàř')->chars();
|
s('fòôbàř')->chars(); // ['f', 'ò', 'ô', 'b', 'à', 'ř']
|
||||||
// [F', 'ò', 'ô', ' ', 'B', 'à', 'ř']
|
|
||||||
```
|
```
|
||||||
|
|
||||||
##### collapseWhitespace()
|
##### collapseWhitespace()
|
||||||
|
Reference in New Issue
Block a user