But it is not used much, so here is just an introduction. The Format parameter is a format string used to format the value in Args. Args is an array of variables, that is, it can have multiple parameters, and each parameter can be different.
For example:
Format ("My
name
be
%6s ","Wind ");
What is returned is: mine.
name
be
wind
The format can be a common string, such as "my"
name
Yes "
However, some format instruction characters have special meanings, such as "%6s".
The format instruction has the following form:
"%"
[Index]
":"]
["-"]
[width]
["."
prec]
type
It starts with "%"and ends with type, indicating a specific type. In the middle are optional directive characters for formatting types.