- Preparing search index...
- The search index is not available
LDesign 基础库
Methods
Trim
- Trim(): string
-
Returns string
Trim2
- Trim2(): string
-
Returns string
endWith
- endWith(str): boolean
-
Returns boolean
getLength
- getLength(): number
-
Returns number
indexof
- indexof(str): number
-
Returns number
isEmpty
- isEmpty(): boolean
-
Returns boolean
isEmpty2
- isEmpty2(src): boolean
-
Returns boolean
replace2
- replace2(str1, str2): string
-
Parameters
-
str1: string
-
str2: string
Returns string
replaceAll
- replaceAll(searchValue, replaceValue): string
-
Parameters
-
searchValue: string | RegExp
-
replaceValue: string
Returns string
- replaceAll(searchValue, replacer): string
-
Parameters
-
searchValue: string | RegExp
-
replacer: ((substring, ...args) => string)
-
- (substring, ...args): string
-
Parameters
-
substring: string
-
Rest
...args: any[]
Returns string
Returns string
- replaceAll(j, d): any
-
Returns any
replaceall
- replaceall(j, d): any
-
Returns any
startWith
- startWith(str): boolean
-
Returns boolean
Replace all instances of a substring in a string, using a regular expression or search string.