Skip to content

Commit 9322a00

Browse files
authored
Fix output of before() example
1 parent 9d3a684 commit 9322a00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/string.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ Methods to Append and Prepend
238238

239239
// returns the contents found before/after the first occurrence of the given string
240240
u('hello world')->before('world'); // 'hello '
241-
u('hello world')->before('o'); // 'hell '
241+
u('hello world')->before('o'); // 'hell'
242242
u('hello world')->before('o', true); // 'hello'
243243

244244
u('hello world')->after('hello'); // ' world'

0 commit comments

Comments
 (0)