Concatenation/joining strings together in a more readable way

Tobias Pankrath tobias at pankrath.net
Wed Dec 25 12:59:20 UTC 2019


On Wednesday, 25 December 2019 at 12:39:08 UTC, BoQsc wrote:
> Are there any other ways to join two strings without Tilde ~ 
> character?
> I can't seems to find anything about Tilde character 
> concatenation easily, nor the alternatives to it. Can someone 
> share some knowledge on this or at least point out useful 
> links/resources?

Tilde operator is documented under cat expression: 
https://dlang.org/spec/expression.html#cat_expressions

An alternative would be std.algorithm.joiner: 
https://dlang.org/phobos/std_algorithm_iteration.html#.joiner


More information about the Digitalmars-d-learn mailing list