Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


FormatSmart(string, params object[])

Formats the specified arguments, using this string as the composite format string.
Read time 1 minuteLast updated 4 days ago

Definition

FormatSmart(string, Object[])

public static string FormatSmart(this string format, params object[] args)

Parameters

format

Composite format string that defines how the arguments are formatted.

Arguments to insert into the formatted output.

Returns

Type

Description

stringA new string with the format items replaced by the formatted arguments.