Merge pull request #216 from PsychoLlama/master
Remove extra quote in strings example
This commit is contained in:
commit
95208e46ba
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user