The string code will be moving here soon; in the meantime, you can find the bulk of it in mozilla/xpcom/ds.