StringHelper is a compact C++17 utility library from Hotbits focused on practical string manipulation, lightweight binary/text conversions, and base64 helpers.
This repository currently contains the modernized V2 API set:
cStringHelperLite_V2- header-only trim, case conversion, tokenization, and UTF-8 to Latin-1 style conversion helpers
cStringHelper_V2- broader string, binary, pattern, padding, and convenience conversion helpers
cBase64Helper_V2- base64 encode/decode helpers with safer C++17 interfaces
The V2 files were created to replace older non-portable and unsafe behavior with a cleaner C++17-friendly implementation.
- CMake 3.16+
- C++17 compiler
This project is standalone and does not require any third-party dependencies for the default build.
From the project root:
cmake -S . -B build
cmake --build buildExample binaries are written to:
build/bin/
The default build includes:
stringHelperLiteExample_V2.binbase64Example_V2.binstringHelperExample_V2.bin
stringHelperLiteExample_V2.bin- trimming, replacement, splitting, and UTF-8 conversion
base64Example_V2.bin- base64 round-trip encoding and decoding
stringHelperExample_V2.bin- hex/binary conversion, case-insensitive compare, padding, and reversible helper encryption
StringHelperLite_V2.h- header-only lightweight string helper utilities
StringHelper_V2.h- main StringHelper V2 declarations
StringHelper_V2.cpp- main StringHelper V2 implementation
Base64Helper_V2.h- base64 declarations
Base64Helper_V2.cpp- base64 implementation
examples/- runnable sample programs
- The older pre-V2 helper files are intentionally not part of this project snapshot.
- The examples are lightweight smoke-style programs rather than a full unit-test suite.
This project is licensed under the GNU GPL v3.0. See LICENSE.