string.format()Creates formatted text.Syntaxstring.format("%d %s", ...)DescriptionLike printf in C: %d number, %s text, %.2f float.ExampleLoading editor…▶ Try it yourselfExpected outputScore: 95When to use?Formatted output.Related commandsConcatenation ( .. )← Concatenation ( .. )