splits() now lstrips and rstrips string
Moved path->command/path