Sha256: bf0718b90f4114c609add2a03e0c450bff657d56b5ce941553f297a2d5c22295

Contents?: true

Size: 298 Bytes

Versions: 9

Compression:

Stored size: 298 Bytes

Contents

numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9]

start = numbers[0..2]

middle = numbers[3...6]

last = numbers[6..end]

copy = numbers.dup

copy = numbers[..]

name = "Adhithya Rajasekaran"

first_name = name[0..7]

second_name = name[9..end]

name_copy = name.dup

name_copy = name[..] 

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
nilac-0.0.4.1.5 shark/test_files/array_string_indexing.nila
nilac-0.0.4.1.4 shark/test_files/array_string_indexing.nila
nilac-0.0.4.1.3 shark/test_files/array_string_indexing.nila
nilac-0.0.4.1.2 shark/test_files/array_string_indexing.nila
nilac-0.0.4.1.1 shark/test_files/array_string_indexing.nila
nilac-0.0.4.1 shark/test_files/array_string_indexing.nila
nilac-0.0.4.0.1 shark/test_files/array_string_indexing.nila
nilac-0.0.4.0 shark/test_files/array_string_indexing.nila
nilac-0.0.3.9 shark/test_files/array_string_indexing.nila