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

Fix copy/paste mistake in README

This commit is contained in:
Josh Di Fabio
2015-09-08 13:37:21 +01:00
parent efb10020f6
commit c09de057a1

View File

@@ -396,7 +396,7 @@ s('foobar')->ensureLeft('http://'); // 'http://foobar'
##### ensureRight(string $substring)
Ensures that the string begins with $substring. If it doesn't, it's appended.
Ensures that the string ends with $substring. If it doesn't, it's appended.
```php
s('foobar')->ensureRight('.com'); // 'foobar.com'