StringFormatUtil

StringFormatUtil

new StringFormatUtil()

Source:
Author:
  • ycx
字符串格式化工具

Methods

(static) format(strPatten, …optionalParams) → {string}

Source:
主要针对 {} 替换
Parameters:
Name Type Attributes Description
strPatten String
optionalParams any <repeatable>
可选参数
Returns:
返回格式化后的字符串
Type
string