updated manipulateTable::splitTable to have more options