No description
Find a file
2019-07-01 16:31:48 +03:00
utf8rewind Added copy of utf8rewind which will be built automatically. 2017-02-04 13:49:03 +02:00
LICENSE Added more converters 2016-02-22 13:20:37 +02:00
README.md Bump package version. 2019-07-01 16:31:48 +03:00
ustring.nim Fix substr overload. 2019-07-01 13:01:20 +03:00
ustring.nimble Bump package version. 2019-07-01 16:31:48 +03:00
utf8rewind-update.sh Added script for updating utf8rewind 2017-02-04 14:28:37 +02:00

ustring

This is utf-8 string implementation for Nim. It is based on excellent battle-tested utf8rewind library In order to use this library project must link to utf8rewind.

Features

  • Common string manipulation functions
  • Converters to and from string, cstring, char
  • Nim string slicing with roof (^) operator
  • String manipulation functions using inclusive ranges

Usage

  • nimble install ustring

If you wish to use custom utf8rewind library:

  • Build your project with -d:ustringUtf8RewindPath=/path/to/utf8rewind-source

If you wish to use external utf8rewind library (provided by your package manager for example):

  • Build with -d:ustringExternalUtf8Rewind