functions to facilitate working with strings