Create a snippet form a longer text