| Method | Defined by | ||
|---|---|---|---|
|
insertVars(str:String, ... vars):String
[static]Insert variables into string.
| TextUtils | ||
| insertVars | () | method |
public static function insertVars(str:String, ... vars):StringInsert variables into string.
Parametersstr:String — a string in which variables have to be indicated as %i, i=1..n |
|
... vars — variables in order of appearance in the string |
String — a new string which has all the occurenses of templates %i replaced by string values of coresponding parameters |