SECAUCUS, N.J. — The Children’s Place has stopped selling a T-shirt that sparked complaints of sexism.

The girls’ shirts said “My best subjects” at the top and had checks in boxes next to shopping, music and dancing. The box next to math was blank. Under, it said, “Well, nobody’s perfect.”

The Secaucus, N.J.-based retailer tweeted Monday evening that it was pulling the shirt from stores and apologized “to anyone we may have offended.”

In recent days, the company’s Facebook page was swamped with criticism of the shirt, saying it perpetuated a harmful stereotype that girls are bad at math. Among those who complained were women in math and science.

The Children’s Place Retail Stores Inc. has about 1,100 stores, including one at the Maine Mall in South Portland.