Test string slicing

This commit is contained in:
Nicolas Williams committed 2013-12-04 18:21:39 -06:00
1 parent 884e6c7d8b
commit da129f6664
1 file changed
+4
+4
View File
@@ -178,6 +178,10 @@ null
[0,1,2,3,4,5,6]
[[], [2,3], [0,1,2,3,4], [5,6], [], []]
[.[3:2], .[-5:4], .[:-2], .[-2:], .[3:3][1:], .[10:]]
"abcdefghi"
["","","abcdefg","hi","",""]
del(.[2:4],.[0],.[-2:])
[0,1,2,3,4,5,6,7]
[1,4,5]