def FindLabel ( [Body] ): return [Body]
from textwrap import fill def FindLabel([BODY]): x = fill([BODY],40) return x
def FindLabel([BODY]): from textwrap import fill x = fill([BODY],40) return x
from textwrap import wrap def FindLabel([BODY]): y = "" x = wrap([BODY],40) for item in x: y += " " + item + "\n" return y
The first one worked great! The only thing I would change: The left justification butts up against the label box. But it does wrap nicely. Thanks, Matt!
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.