Files
Nim/lib
zetashift c7d6e4c6a6 Fix unicode.split with seperators examples (#17176)
* Fix unicode.split with seperators examples

https://nim-lang.org/docs/unicode.html#split.i%2Cstring%2CRune%2Cint didn't work with the set constructor `{}` so replaced it with a string that's converted to an openArray compatible type containing `Rune`s.

* Add runnableExamples to unicode.split

* Add runnableExamples to split with single separator too

* Simplify runnableExamples unicode.split

* Improve the rest of the runnableExamples with the simplified code

* Simplify runnableExamples of unicode.split even more

* Formatted unicode.split example

* Update lib/pure/unicode.nim

Co-authored-by: zetashift <rishi2@laptop.localdomain>
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
2021-02-26 15:08:48 +01:00
..
2017-02-20 17:24:19 +02:00
2021-02-18 22:47:21 -08:00
2021-02-18 22:47:21 -08:00
2021-02-18 22:47:21 -08:00
2021-02-21 00:27:39 -08:00
2021-02-20 03:20:29 -08:00
2021-02-25 17:52:58 +08:00
2021-02-21 00:27:39 -08:00
2013-03-16 23:53:07 +01:00
2021-02-18 22:47:21 -08:00
2021-02-18 22:47:21 -08:00