String adjective = "little"; String lyric = "Mary had a %s lamb".formatted(adjective);