added fraction support to StringTools