Fix splitting substitute command by delimiter