What is the easiest way to get the value of a string field in a twig template?
You are referring to paragraph--bar.html.twig? Then this depends on what you want to do with the value.

Render the field value:

{{ content.field_example }}


Write code with it:

{% if paragraph.field_example.value == 'foo' %}
  &lt;p&gt;The field value is "foo".&lt;/p&gt;
{% endif %}


See this blog post for node.html.twig, which applies here as well, only that the entity is paragraph. instead of node.: https://www.md-systems.ch/de/blog/techblog/2017/02/20/twig-and-entity-field-api-or-how-to-take-control-of-nodehtmltwig