String concatenation doesn't seem to work inside function calls
See original GitHub issue{% set url = media('/docs/privacy/' + language + '.html') %}
The above expression throws a parse error locally:
parseSignature: expected comma after expression
Investigating to try to figure out what might be wrong.
Issue Analytics
- State:
- Created 10 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Why doesn't my Java string concatenation work?
You need to reassign the concatenated value to a string object. Simply calling fileText.concat(inputLine); will not change the value in fileText ...
Read more >String.Concat Method (System) | Microsoft Learn
The method concatenates each object in values ; it does not add any delimiters. To specify a delimiter between each member of values...
Read more >4 ways to concatenate Strings in Java [Example and ... - Java67
4 ways to concatenate Strings in Java [Example and Performance] · 1. String Concatenation using + Operator · 2. Using concat() method from...
Read more >Handling text — strings in JavaScript - Learn web development
Concatenate just means "join together". To join together strings in JavaScript you can use a different type of string, called a template literal ......
Read more >Chapter 4 - String and Writing Programs - Invent with Python
In Python, we work with little chunks of text called string values (or simply ... the way we make text appear on the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The
+
operator should work fine.Hi guys, do you know what is the operator to concatenate strings? Looks like the only way is to use the “replace” filter: ‘my string _str2’ | replace(‘_str2’, string2)