export class SplitText { static first ( text , pattern ) { return text . split ( `${ pattern }` ) [ 0 ] ; } static index ( text , pattern , index ) { return text . split ( `${ pattern }` ) [ index ] ; } }