Extract constant strings