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"
1.4m articles
1.4m replys
5 comments
57.0k users