doc_string_key

Retrieves a document string key from its default value.

Example

1
{{ 'STRING_VALUE' | doc_string_key: 'prefix_' }} => Hello world

Input

Type Parameter Description Required
string strValue The value to look for. Comes before the | sign. Required
string keyPref (OPTIONAL) Prefix of the key to look for  

Output

Type Description
string Key of the document string