Skip to content

Commit 468b689

Browse files
committed
2 parents 1600c37 + 987e670 commit 468b689

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,24 @@ Array("those", "are", "test", "parameters")
271271
```
272272
Info: Arrays have a default textual representation, which is all of the array value text representations delimited by ", ". Above examples textual representation would therefore be "those, are, test, parameters". Null values are not removed, but show up as empty string.
273273

274+
### Join
275+
Joins multiple strings together using the separator that you passed. You can pass dynamic expressions whose text representations will be used. The first parameter is the separator, the second one is the array of values to concatenate.
276+
You can pass a boolean as third parameter, stating whether empty parameters should be left out when concatenating (defaults to false).
277+
278+
Example:
279+
```
280+
Join(NewLine(), Array ( Value("address1_line1"), Value("address1_line2")), true)
281+
```
282+
283+
### NewLine
284+
Inserts a new line.
285+
286+
Example:
287+
```
288+
NewLine()
289+
```
290+
Info: This is needed when wanting to concatenate multiple texts using concat or join, since passing "\n" as .NET line break string is interpreted as plain string.
291+
274292
## Sample
275293
Consider the following e-mail template content:
276294
```

0 commit comments

Comments
 (0)