0.0.2 • Published 7 years ago

nuke-biz-string v0.0.2

Weekly downloads
8
License
-
Repository
gitlab
Last release
7 years ago

以下是标准 README 的内容

nuke-string

  • category: 功能
  • chinese: 从一个字符串中前面截取几个字符串,后面截取几个字符串,中间用一个拼接字符拼接起来,用于信息展示
  • type: 功能

API

参数类型是否必传默认值说明
startLengthint前面截取多少个字符串
endLengthint后面截取多少个字符串
defaultStringstring要处理的原始字符串
suffixStringstring'...'默认拼接字符串