From 9c07f3dbb0c47332801a19bcc555b318fb2ab72a Mon Sep 17 00:00:00 2001 From: Jesse Gibson Date: Fri, 14 Aug 2020 00:08:11 -0600 Subject: [PATCH] Remove extra quote in strings example More like triple quote amirite --- scripts/string.rhai | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/string.rhai b/scripts/string.rhai index 38dc52e9..70ea201e 100644 --- a/scripts/string.rhai +++ b/scripts/string.rhai @@ -10,7 +10,7 @@ print("foo" < "bar"); // string comparison print("foo" >= "bar"); // string comparison print("the answer is " + 42); // string building using non-string types -let s = "\u2764" hello, world! \U0001F603"; // string variable +let s = "\u2764 hello, world! \U0001F603"; // string variable print("length=" + s.len); // should be 17 s[s.len-3] = '?'; // change the string