I have a question on pattern matching:
Is it possible to somehow match a (string ++ [char] ++ anotherstring)?
I have tried something like:
f
No it is not possible. There are many functions in split which you can use to accomplish what you are trying to do.