ustring
utf-8 string
Summary
| Latest Version | Unknown |
|---|---|
| License | MIT |
| CI Status | Passing |
| Downloads | 0 |
| Last Indexed | 2026-07-21 05:24 |
Tags
Installation
nimble install ustring
choosenim install ustring
git clone https://github.com/rokups/nim-ustring
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| ustring | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://github.com/rokups/nim-ustring |
|---|---|
| Homepage | https://github.com/rokups/nim-ustring |
| Registry Source | nimble_official |
README
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