Trimming a string based on the length


I’m having a variable value “ABCDE”. I want to split the string into “ABC” and “DE” so that “DE” will point to some value in a ion-select.

How can I split the string in the component by its length?

The variable value will always be 5 characters and I need to split it 3,2 for my case. Any ways to do it?