Docs
GitHub
CHANGELOG
Preparing search index...
The search index is not available
JS-COOL DOCS - v5.23.1
JS-COOL DOCS
cutCHSString
Function cutCHSString
cutCHSString
(
str
:
string
,
len
?:
number
,
hasDot
?:
boolean
)
:
string
Intercept string, Chinese counts as 2 bytes
Parameters
str
:
string
the string to be intercepted
len
:
number
= str.length
hasDot
:
boolean
= false
Returns
string
the intercepted string
Since
1.0.1
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Docs
GitHub
CHANGELOG
JS-COOL DOCS - v5.23.1
Loading...
Intercept string, Chinese counts as 2 bytes