mirror of
https://github.com/danielstjules/Stringy.git
synced 2025-08-11 15:54:04 +02:00
Add mbstring to readme example
This commit is contained in:
@@ -105,8 +105,12 @@ PHP's standard string functions.
|
||||
|
||||
```php
|
||||
// Standard library
|
||||
strtoupper('fòôbàř'); // 'FòôBàř'
|
||||
strlen('fòôbàř'); // 10
|
||||
strtoupper('fòôbàř'); // 'FòôBàř'
|
||||
strlen('fòôbàř'); // 10
|
||||
|
||||
// mbstring
|
||||
mb_strtoupper('fòôbàř'); // 'FÒÔBÀŘ'
|
||||
mb_strlen('fòôbàř'); // '6'
|
||||
|
||||
// Stringy
|
||||
s('fòôbàř')->toUpperCase(); // 'FÒÔBÀŘ'
|
||||
|
Reference in New Issue
Block a user