Difference between revisions of "String Formatting"
Jump to navigation
Jump to search
no edit summary
imported>Odessa (added note on nvse alternative) |
imported>Pintocat |
||
Line 1: | Line 1: | ||
{{Template:Community_Wiki}} | |||
Some commands take a format string as a parameter. Format strings are actually a collection of arguments consisting of a string followed by zero to twenty variables. The string specifies how the command should use the rest of the arguments to construct a new string. Within the format string, percent signs are used to indicate special characters. The number of format specifiers in the string must match exactly the provided arguments | Some commands take a format string as a parameter. Format strings are actually a collection of arguments consisting of a string followed by zero to twenty variables. The string specifies how the command should use the rest of the arguments to construct a new string. Within the format string, percent signs are used to indicate special characters. The number of format specifiers in the string must match exactly the provided arguments | ||