dynamem is a library for C programming to handle strings easily.
Please take a look to dynamem.h for an overview over the available functions and example.c for example code.
The library was checked with cppcheck and valgrind to prevent memory leaks.