rxsplit function

Split a character in three parts