Merged utils functions in string class