Merge pull request #4276 from jyapayne/devel

Add extra string functions to strutils to satisfy part of #4218 and #4251
This commit is contained in:
Andreas Rumpf 2016-06-14 09:38:45 +02:00 • committed by GitHub
commit c9c4b6c41d
6 changed files with 540 additions and 35 deletions

View file

@ -18,6 +18,15 @@ Library Additions
a lightweight alternative to python's ``csv.DictReader``.
- Added ``setStdIoUnbuffered`` proc to ``system.nim`` to enable unbuffered I/O.
- 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
------------------