Retailer Marks and Spencer continued to build its market share in the UK clothing sector despite flat like-for-like sales in the company's first quarter.