!"#"#$
"#%
#&'$
!( )##"*(!"
#! %#
"'+
Step 1: Create a new type for the return value of the split function
,-./).--./,.)0."1/)/2.3#45677789
Step 2: create the function split
,-./).--./,.3:;,);151#4$1#48"1
.;.
1'1;).<.-9
#1#45=4>?>8+@19
2.<;
1'+@5#1$189
31'A7).;
.-55#1$B$1'CB889
#1+@5#1$1'D51889
..
.-5#189
.E)9
.;39
.;9
.;9
Step 3: Test this function
F515G$$$$$%$$$!!!G$G$G889