Playing with F# and trying to get from stringabcdefghijklmnop another string aeimbfjncgkodhlp.
let input ="abcdefghijklmnop"
let convertList (input:string)=
input
|> Seq.mapi(fun i ei-> i % 4, ei)
|> Seq.groupBy (fst)
|> Seq.map(fun (g,s)-> s |> Seq.map snd)
let result = convertList input
result
In my function final result is seq<seq<char>>, how to convert seq<seq<char>> to string?
Seq.concat, so just doresult |> Seq.concat- Bent Tranberg