1
0
mirror of https://github.com/danielstjules/Stringy.git synced 2025-08-12 00:04:11 +02:00

Add mbstring to readme example

This commit is contained in:
Daniel St. Jules
2015-07-28 23:41:28 -07:00
parent 812f227f11
commit dd95144bf8

View File

@@ -108,6 +108,10 @@ PHP's standard string functions.
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ÀŘ'
s('fòôbàř')->length(); // '6'