1 2#include <stdio.h> 3 4#include <libdk4base/dk4str8.h> 5 6const char testline[] = { " Dies ist ein Test." }; 7 8 9int main(void) 10{ 11 const char *text; 12 size_t i; 13 14 for (i = 0; i < 6; i++) { 15 text = dk4str8_skip(testline, i); 16 printf("%u \"%s\"\n", (unsigned)i, ((NULL != text) ? text : "(NULL)")); 17 } 18 return 0; 19} 20