Sha256: 7e6d009004f15c919013e9779ba2694e8e213f892979b9e50dbe2ff0d75a9689
Contents?: true
Size: 350 Bytes
Versions: 13
Compression:
Stored size: 350 Bytes
Contents
Split a comma separated String into an Array: parts = "foo,bar,baz,qux".split(',') Split a comma separated String, but only into three parts: a,b,c = "foo,bar,baz,qux".split(',',3) # => ["foo", "bar", "baz,qux"] Split a comma separated String, but only capture the first and third fields: a,_,c,_ = "foo,bar,baz,qux".split(',')
Version data entries
13 entries across 13 versions & 1 rubygems