string based support function generator