Garry's Mod Wiki

Format

  string Format( string format, vararg formatParameters )

Description

Formats the specified values into the string given. Same as string.format.

Arguments

1 string format
The string to be formatted. Follows this format: http://www.cplusplus.com/reference/cstdio/printf/
2 vararg formatParameters
Values to be formatted into the string.

Returns

1 string
The formatted string