format_with

format_with(a_list)

Output with inserting texts into the template

Replace "$1", "$2"... with item 1 of a_list, item2 of a_list .... This method is useful for building a text for a message in a dialog.

Parameters
Result

XText : a new XText instance inserted elements of a_list