formattedstring

noun
UK /ˈfɔː.mæt.ɪd strɪŋ/
US /ˈfɔːr.mæt̬.ɪd strɪŋ/

A formatted string is a piece of text that has a special pattern so a computer can put in words or numbers where the pattern says to.

The program used a formatted string to show the player's name and score together.


OTHER MEANINGS

2. In programming, a string literal containing format specifiers that are replaced with values at runtime.

The C function printf takes a formatted string like "%d items" and fills in the number.

3. A text value that has been arranged with spaces, line breaks, or symbols to look a certain way.

The report printed a nicely formatted string with columns lined up.

4. A string used as a pattern in which special markers stand for data to be inserted later.

She wrote a formatted string with a {name} marker for each customer.