Methods
(static) format(strPatten, …optionalParams) → {string}
- Source:
主要针对 {} 替换
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
strPatten |
String | ||
optionalParams |
any |
<repeatable> |
可选参数 |
Returns:
返回格式化后的字符串
- Type
- string