Utility: Do not stick on strings with only line sperators

Signed-off-by: Peter Cai <xqsx43cxy@126.com>