Extract constant string