Skip to main content
Version: v0.17.0

StringInterpolate

Alias:StringInterpolate

Output:StringStream

Joins strings. Supports string interpolation. To use string interpolation, the string must be enclosed in double quotes and prefixed with a dollar-sign ($). Then, anything in curly brackets { and } will be evaluated as SCL.

ParameterTypeRequiredPositionSummary
StringsList<IStep>✔1The strings to join

Examples​

Example 1​

SCL​

$"The answer is {6 + (6 ^ 2)}"

Expected Output​

The answer is 42

Example 2​

SCL​

$"The answer is {}???"

Expected Output​

The answer is ???

Example 3​

SCL​

$"(a:{1}, b:{}, c:{3}, d:{}, e:{5})"

Expected Output​

(a:1, b:, c:3, d:, e:5)