Refine string literals