Format string

This commit is contained in:
User 2017-10-02 09:26:39 +02:00
parent 67abbddc8f
commit 3b9c2f6d27
2 changed files with 6 additions and 4 deletions

View file

@ -1156,8 +1156,10 @@ namespace LSLEditor
public String osFormatString(String format, list parameters)
{
Verbose("osFormatString(\"{0}\", {1})=\"\"", format, parameters.ToVerboseString());
return "";
string formatted = string.Format(format, parameters.ToArray());
Verbose("osFormatString(\"{0}\", {1})=\"{2}\"", format, parameters.ToVerboseString(), formatted);
return formatted;
}
public String osKey2Name(key id)