Added strpair function, analogous to the wcspair ones.