What is a correct syntax to return the first character in a string?
- x = sub("Hello", 0, 1)
- x = "Hello".sub(0, 1)
- x = "Hello"[0]
- None of the above
We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.