From 9322a00f689a2380b34c3f59887ef91e1b2489e8 Mon Sep 17 00:00:00 2001 From: Jacob Dreesen Date: Mon, 9 Dec 2019 23:31:49 +0100 Subject: [PATCH] Fix output of before() example --- components/string.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/string.rst b/components/string.rst index eff09aa0361..03edb616d87 100644 --- a/components/string.rst +++ b/components/string.rst @@ -238,7 +238,7 @@ Methods to Append and Prepend // returns the contents found before/after the first occurrence of the given string u('hello world')->before('world'); // 'hello ' - u('hello world')->before('o'); // 'hell ' + u('hello world')->before('o'); // 'hell' u('hello world')->before('o', true); // 'hello' u('hello world')->after('hello'); // ' world'