What type of data does string.byte return?

Viewed 8018

What type of data does string.byte return in this sample code:

s = string.byte("hello", 1, 6)

type(s) returns "number", but why then does print output 6 numbers and not 1?

2 Answers
Related