diff --git a/README.md b/README.md index 1072d4d..e4b15fa 100644 --- a/README.md +++ b/README.md @@ -124,7 +124,7 @@ documentation. [tidy](#tidy) [titleize](#titleize-array-ignore) - [toAscii](#toascii) + [toAscii](#toascii-string-locale--en--bool-removeunsupported--true-) [toBoolean](#toboolean) @@ -436,7 +436,7 @@ default, the comparison is case-sensitive, but can be made insensitive by setting $caseSensitive to false. ```php -s('fòôbàř')->endsWith('bàř', true); // true +s('fòôbàř')->endsWith('bàř'); // true ``` ##### endsWithAny(string[] $substrings [, boolean $caseSensitive = true ]) @@ -446,7 +446,7 @@ By default, the comparison is case-sensitive, but can be made insensitive by setting $caseSensitive to false. ```php -s('fòôbàř')->endsWith(['bàř', 'baz'], true); // true +s('fòôbàř')->endsWithAny(['bàř', 'baz']); // true ``` ##### ensureLeft(string $substring) @@ -859,7 +859,7 @@ otherwise. By default the comparison is case-sensitive, but can be made insensitive by setting $caseSensitive to false. ```php -s('FÒÔbàřbaz')->startsWith(['fòô', 'bàř'], false); // true +s('FÒÔbàřbaz')->startsWithAny(['fòô', 'bàř'], false); // true ``` ##### stripWhitespace()