snippets: Nice idea for stack/heap allocation switch

Stack allocated string which switches to heap allocation for chars > 255