Extract string constants