extract strings to constants