Extract string constant.