Move partition and rpartition to new strmisc module
This was done because partition is an uncommonly used proc that is still useful in rare cases. There is also a desire to add more procs to this module at a later time.
This commit is contained in:
parent
f6e30981a8
commit
84d9081e21
5 changed files with 70 additions and 41 deletions
|
|
@ -17,6 +17,15 @@ Library Additions
|
|||
- Added ``readHeaderRow`` and ``rowEntry`` to ``parsecsv.nim`` to provide
|
||||
a lightweight alternative to python's ``csv.DictReader``.
|
||||
|
||||
- Added ``center``, ``rsplit``, and ``expandTabs`` to ``strutils.nim`` to
|
||||
provide similar Python functionality for Nim's strings.
|
||||
|
||||
- Added ``isTitle``, ``title``, and ``swapCase`` to ``unicode.nim`` to
|
||||
provide unicode aware string case manipulation.
|
||||
|
||||
- Added a new module ``lib/pure/strmisc.nim`` to hold uncommon string
|
||||
operations. Currently contains ``partition`` and ``rpartition``.
|
||||
|
||||
Compiler Additions
|
||||
------------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue