<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Split dynamic text in data driven Pages? in Mapping Questions</title>
    <link>https://community.esri.com/t5/mapping-questions/split-dynamic-text-in-data-driven-pages/m-p/496723#M5322</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the text has spaces and you put it in a rectangle (or other shape) text graphic (see text tool palette in the Draw toolbar) the text will break at spaces when it exceeds the width of the rectangle/shape. For this to work well you would need to make sure the rectangle is wide enough to accommodate the longest piece of text without spaces. If there are parts of the string that are short enough to fit the width, even if there are spaces in between, it won't wrap those; just the lines that are too long to fit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the text doesn't have spaces you'll need other solutions, such as one of the ones given above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Apr 2016 12:37:42 GMT</pubDate>
    <dc:creator>DavidBarnes</dc:creator>
    <dc:date>2016-04-12T12:37:42Z</dc:date>
    <item>
      <title>Split dynamic text in data driven Pages?</title>
      <link>https://community.esri.com/t5/mapping-questions/split-dynamic-text-in-data-driven-pages/m-p/496718#M5317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this possible? And how?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 09:11:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/split-dynamic-text-in-data-driven-pages/m-p/496718#M5317</guid>
      <dc:creator>JohannesBierer</dc:creator>
      <dc:date>2015-03-10T09:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Split dynamic text in data driven Pages?</title>
      <link>https://community.esri.com/t5/mapping-questions/split-dynamic-text-in-data-driven-pages/m-p/496719#M5318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it is possible. Just use '\n' to split the text. &lt;/P&gt;&lt;P&gt;Could you please provide an example of text and how it should be split.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 10:10:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/split-dynamic-text-in-data-driven-pages/m-p/496719#M5318</guid>
      <dc:creator>KishorGhatage</dc:creator>
      <dc:date>2015-03-10T10:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Split dynamic text in data driven Pages?</title>
      <link>https://community.esri.com/t5/mapping-questions/split-dynamic-text-in-data-driven-pages/m-p/496720#M5319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kishor, that's it. But in your solution I have to edit the attributes.&lt;/P&gt;&lt;P&gt;Is there also a possibility to do this automatically? Split the text in a certain lenght without editing the attributes?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 11:01:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/split-dynamic-text-in-data-driven-pages/m-p/496720#M5319</guid>
      <dc:creator>JohannesBierer</dc:creator>
      <dc:date>2015-03-10T11:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: Split dynamic text in data driven Pages?</title>
      <link>https://community.esri.com/t5/mapping-questions/split-dynamic-text-in-data-driven-pages/m-p/496721#M5320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, same question here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2016 16:31:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/split-dynamic-text-in-data-driven-pages/m-p/496721#M5320</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2016-04-11T16:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Split dynamic text in data driven Pages?</title>
      <link>https://community.esri.com/t5/mapping-questions/split-dynamic-text-in-data-driven-pages/m-p/496722#M5321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, something like this will split a text string into bit sized bits...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;gt;&amp;gt;&amp;gt; veryLongText = "ahdsgs hdfgsdt jshsst ktpoiyus lorhsjks lsoshft dfagwqrt"
&amp;gt;&amp;gt;&amp;gt; textLen = 10
&amp;gt;&amp;gt;&amp;gt; while len(veryLongText) &amp;gt; 0:
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; newText = veryLongText[:textLen]
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print newText
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; veryLongText = veryLongText[textLen:]
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
ahdsgs hdf
gsdt jshss
t ktpoiyus
 lorhsjks 
lsoshft df
agwqrt
&amp;gt;&amp;gt;&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:50:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/split-dynamic-text-in-data-driven-pages/m-p/496722#M5321</guid>
      <dc:creator>NeilAyres</dc:creator>
      <dc:date>2021-12-11T21:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Split dynamic text in data driven Pages?</title>
      <link>https://community.esri.com/t5/mapping-questions/split-dynamic-text-in-data-driven-pages/m-p/496723#M5322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the text has spaces and you put it in a rectangle (or other shape) text graphic (see text tool palette in the Draw toolbar) the text will break at spaces when it exceeds the width of the rectangle/shape. For this to work well you would need to make sure the rectangle is wide enough to accommodate the longest piece of text without spaces. If there are parts of the string that are short enough to fit the width, even if there are spaces in between, it won't wrap those; just the lines that are too long to fit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the text doesn't have spaces you'll need other solutions, such as one of the ones given above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 12:37:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/split-dynamic-text-in-data-driven-pages/m-p/496723#M5322</guid>
      <dc:creator>DavidBarnes</dc:creator>
      <dc:date>2016-04-12T12:37:42Z</dc:date>
    </item>
  </channel>
</rss>

