added string subsets functions