string/format

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m
(Added reference link)
Line 9: Line 9:
 
|type=string
 
|type=string
 
|name=format
 
|name=format
|desc=The string to be formatted.
+
|desc=The string to be formatted.<br>
 +
Follows this format: http://www.cplusplus.com/reference/cstdio/printf/
 
}}
 
}}
 
{{Arg
 
{{Arg

Revision as of 14:01, 20 February 2014

 string.format( )

Contents

Description

Formats the specified values into the string given.

Arguments

string format

The string to be formatted.

Follows this format: http://www.cplusplus.com/reference/cstdio/printf/

Arguments

vararg formatParameters

Values to be formatted into the string.

Returns

string

formattedString
Personal tools
Navigation