Example:
[12,23,987,43
What is the fastest, most efficient way to remove the "[", using maybe a chop() but for the first character?
[
chop()
Similar to Pablo's answer above, but a shade cleaner :
str[1..-1]
Will return the array from 1 to the last character.
'Hello World'[1..-1] => "ello World"
2.1m questions
2.1m answers
60 comments
57.0k users