# FormatSmart(string, params object[])

> Formats the specified arguments, using this string as the composite format string.

## Definition

* **Type:** Method
* **Namespace:** [Unity.SmartStrings](/engine/6000.7/script-reference/unity/smartstrings.md)
* **Assembly:** UnityEngine.SmartStringsModule

## FormatSmart(string, Object\[])

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

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Composite format string that defines how the arguments are formatted.**** (\[Object\[]]\(https\://learn.microsoft.com/dotnet/api/system.object)): Arguments to insert into the formatted output.

### Returns

| Type                                                           | Description                                                             |
| -------------------------------------------------------------- | ----------------------------------------------------------------------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | A new string with the format items replaced by the formatted arguments. |
