StringUtils
Static Method Summary
Static Public Methods | ||
public static |
commonPrefix(str1: string, str2: string): string |
|
public static |
isHex(str: string): boolean |
|
public static |
isHexBytes(str: string, length: number): boolean |
|
public static |
isMultibyte(str: string): boolean |
|
public static |
lpad(str: string, padString: string, length: number): string |
Static Public Methods
public static commonPrefix(str1: string, str2: string): string source
Params:
Name | Type | Attribute | Description |
str1 | string | ||
str2 | string |
Return:
string |
public static isHex(str: string): boolean source
Params:
Name | Type | Attribute | Description |
str | string |
Return:
boolean |
public static isHexBytes(str: string, length: number): boolean source
Params:
Name | Type | Attribute | Description |
str | string | ||
length | number |
|
Return:
boolean |
public static isMultibyte(str: string): boolean source
Params:
Name | Type | Attribute | Description |
str | string |
Return:
boolean |
public static lpad(str: string, padString: string, length: number): string source
Params:
Name | Type | Attribute | Description |
str | string | ||
padString | string | ||
length | number |
Return:
string |