def validate_str ( self, object, name, value ):
        try:
            return strx( value )
        except:
            pass

        self.error( object, name, value )
Validates that the value is a valid string.
dataset/ETHPy150Open enthought/traits/traits/trait_types.py/String.validate_str