1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 07:08:01 +00:00

Clarify some text in the latest til.

This commit is contained in:
jbranchaud
2015-02-13 19:29:55 -06:00
parent 2d12004407
commit 29e451e21c

View File

@@ -3,7 +3,7 @@
I've only ever used Ruby's
[`String#split`](http://ruby-doc.org//core-2.2.0/String.html#method-i-split)
with the delimiter argument (e.g. `"this string has spaces".split(" ")`).
This method has another argument that can be specified, the `limit`
However, this method has another argument you can specify; the `limit`
argument. With `limit`, you can *limit* the number of times that the split
happens.