String slice (instead of substr)



examples/strings/string_slice.py
text = "Hello World"

b = text[1:4]
print(b)          # ell

print(text[2:])   # llo World
print(text[:2])   # He

start = 1
end = 4
print(text[start:end])  # ell