String formatting with format:
Jump to navigation
Jump to search
- 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' "