Function splitAt()
splitAt(
string:string,index:number): [string,string]
Source: string.utils.ts
Splits a string into two strings at a given index.
Parameters
string
string
The string to split.
index
number
The index to split at.
Returns
[string, string]
The parts of the string before and after the character at the given index.