Factor constant strings