Some quick comments, perhaps to be expanded on:
You are thinking of T-duality. As Polchinski puts it in his memoir (section 7.2),
A striking phenomenon special to strings was T-duality. If you put a
particle in a box and make the box smaller and smaller, all that
happens is that the excited states get heavier and heavier due to the
momentum quantization. But for strings, after the box gets small
enough, lighter and lighter states appear in the spectrum, and there
is a perfect symmetry between a very large and very small box.
Apparently there was a minimum length, something one might expect in
the ultimate short distance theory. It was also an example of duality,
the equivalence between the quantum theories of the large box and the
small, but one that was visible even at weak coupling. And in more
current parlance, it was an example of emergent space.
An interesting early paper if you can find it, is "Duality in Statistical Mechanics and String Theory" by B. Sathiapalan, which relates it to an order/disorder duality of the Ising model.
Page 4 of this 2004 lecture purports to give the simplest example: a free particle on a torus has the same partition function as a free particle on a dual torus.