SyntaxFix
Write A Post
Hire A Developer
Questions
I prefer this:
str = "[12,23,987,43" puts str[1..-1] >> 12,23,987,43