mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-04 20:17:42 +00:00
committed by
narimiran
parent
78f9933b8f
commit
8b956dba09
@@ -1393,7 +1393,7 @@ define operators which accept Slice objects to define ranges.
|
||||
:test: "nim c $1"
|
||||
|
||||
var
|
||||
a = "Nim is a progamming language"
|
||||
a = "Nim is a programming language"
|
||||
b = "Slices are useless."
|
||||
|
||||
echo a[7..12] # --> 'a prog'
|
||||
|
||||
Reference in New Issue
Block a user