When you try and do a substring on a value returned from a database, you may get an error about the object not supporting the property.