Strings In Depth7 / 12
Up next

substr

s <- "programming"
# substr(x, start, stop): 1-indexed, inclusive
print(substr(s, 1, 4))
What you're solving

extract a substring