Dialogue.ExpandFormatFunctions Method

Expands all format functions in a given string, using pluralisation rules specified by the given locale.

public static string ExpandFormatFunctions(string input, string localeCode)

Parameters

Parameter Description
string input The string to process.
string localeCode The locale code, as an IETF BCP-47 language tag, to use when determining the plural categories of numbers.

Return Type

string: The original string, with any format functions replaced with their evaluated versions.

Source

Defined in YarnSpinner/Dialogue.cs, line 823.