- Preparing search index...
- The search index is not available
OPD-libs
Methods
Static contains
- contains(str: string, subStr: string): boolean
-
Parameters
-
str: string
-
subStr: string
Returns boolean
Static getInBetween
- getInBetween(str: string, enclosingPair: EnclosingPair): string | string[]
-
Returns string | string[]
Static isStringAt
- isStringAt(str: string, subStr: string, index: number): boolean
-
Parameters
-
str: string
-
subStr: string
-
index: number
Returns boolean
Static numberOfOccurrences
- numberOfOccurrences(str: string, subStr: string): number
-
Parameters
-
str: string
-
subStr: string
Returns number
Static removeInBetween
- removeInBetween(str: string, enclosingPair: EnclosingPair): string
-
Returns string
Static split
- split(str: string, separator: string, ignore?: EnclosingPair): string[]
-
Parameters
-
str: string
-
separator: string
-
Returns string[]