in reply to split $c

Please don't put everything in code tags. It's difficult to distinguish between your question and the snippets of code.