Factor out S, to compile a "measured string".