mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Tweak
This commit is contained in:
@@ -115,5 +115,7 @@ When indexing a compound value, you can use slice notation to manipulate it's el
|
||||
var greeting = "Hello world";
|
||||
|
||||
print greeting[::-1]; //dlrow olleH
|
||||
|
||||
greeting[0:4] = "Goodnight"; //changes greeting to equal "Goodnight world"
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user