String formatting with format:: Difference between revisions
Jump to navigation
Jump to search
(importe material) |
(No difference)
|
Revision as of 23:37, 3 May 2025
- Most of the time you will want your string to be dynamic, that is, part of their contents must depend on the result of evaluating code.
'this is value {1} and this is value {2}' format: #('foo' 123). "=> 'this is value foo and this is value 123' "