Add functions for string manipulations