DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR RUBY
how to remove the first element in an array ruby
a = [0,1,2,3] a.shift # => [1,2,3] a # => [1,2,3]
PREVIOUS
NEXT
Tagged:
#remove
#element
#array
#ruby
ADD COMMENT
Topic
COMMENT
Name
1+4 =
Submit