Methods
Static endWith
- endWith(source: string, suffix: string): boolean
-
Parameters
-
source: string
-
suffix: string
Returns boolean
Static firstUpperCase
- firstUpperCase(source: string): string
-
Parameters
Returns string
Static isEmpty
- isEmpty(source: any): boolean
-
Parameters
Returns boolean
Static isNotEmpty
- isNotEmpty(source: any): boolean
-
Parameters
Returns boolean
Static isString
- isString(source: any): boolean
-
Parameters
Returns boolean
Static prefixInteger
- prefixInteger(source: any, length: number): string
-
Parameters
-
source: any
-
length: number
Returns string
Static replaceAll
- replaceAll(source: string, oldStr: string, newStr: string): string
-
Parameters
-
source: string
-
oldStr: string
-
newStr: string
Returns string
Static startWith
- startWith(source: string, prefix: string): boolean
-
Parameters
-
source: string
-
prefix: string
Returns boolean
字符串相关