string.format is the same kind of thing as printf (C, Java, etc) so it's a pretty common feature in a lot of langs.
%X is the format for a var, where X is the type. %d = integer, %f = float, %s = string, and so on. Those 3 are the biggest ones to know. The vars are passed in sequentially after...