Quantcast
Channel: Active questions tagged ruby - Stack Overflow
Viewing all articles
Browse latest Browse all 4612

What is the easiest way to remove the first character from a string?

$
0
0

Example:

[12,23,987,43

What is the fastest, most efficient way to remove the "[",using maybe a chop() but for the first character?


Viewing all articles
Browse latest Browse all 4612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>