Skip to content

Commit

Permalink
Update examples/string-templates/string_templates.bal
Browse files Browse the repository at this point in the history
  • Loading branch information
MaryamZi authored Nov 18, 2024
1 parent 714c721 commit 8c31c4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/string-templates/string_templates.bal
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public function main() {
2} and T_3 is ${1 + 2 + 3
}`;
io:println(s3);

// If there are no interpolations to break at a required point, you can introduce an interpolation with an empty
// string.
string s4 = string `prefix ${
Expand Down

0 comments on commit 8c31c4c

Please sign in to comment.