Escape from string in twig, using symfony 3 [on hold]

I do not really know now how to ask this question, but consider:

{% set string = & aaaaa? yyyy%
{{string}}

But I want to use & # 39;? & # 39; from a yaml file.