string/format

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Added reference link)
m (Also menu state)
Line 3: Line 3:
 
|Parent=string
 
|Parent=string
 
|Description=Formats the specified values into the string given.
 
|Description=Formats the specified values into the string given.
|Realm=Shared
+
|Realm=Shared and Menu
 
|IsClass=No
 
|IsClass=No
 
}}
 
}}

Revision as of 22:32, 30 July 2016

 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