Consolidate functions for stringacquisition