Skip to content

Commit fe26644

Browse files
committed
Revise why section in readme
1 parent dd95144 commit fe26644

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,10 @@ s('string')->toTitleCase()->ensureRight('y') == 'Stringy'
101101
## Why?
102102

103103
In part due to a lack of multibyte support (including UTF-8) across many of
104-
PHP's standard string functions.
104+
PHP's standard string functions. But also to offer an OO wrapper around the
105+
`mbstring` module's multibyte-compatible functions. Stringy handles some quirks,
106+
provides additional functionality, and hopefully makes strings a little easier
107+
to work with!
105108

106109
```php
107110
// Standard library
@@ -117,11 +120,6 @@ s('fòôbàř')->toUpperCase(); // 'FÒÔBÀŘ'
117120
s('fòôbàř')->length(); // '6'
118121
```
119122

120-
But also to offer an OO wrapper around the `mbstring` module's
121-
multibyte-compatible functions. Handling some quirks, bugs, adding some
122-
additional functionality, and hopefully making strings a little easier to work
123-
with!
124-
125123
## Installation
126124

127125
If you're using Composer to manage dependencies, you can include the following

0 commit comments

Comments
 (0)