core: add string parser

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>