I am using MapTips (Layer Properties > Display > Display Expression). I would like to use the advanced expression window to write a script using Python TextWrap. Field string needs to be wrapped +-40 characters with no word split. Attribute field is named BODY. Unfortunately, I find the python.org page (syntax/example) much harder to read than ESRI's. Has anyone attempted this?
Code:
def FindLabel ( [Body] ):
return [Body]