<?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: use vbscript with carriage return in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/use-vbscript-with-carriage-return/m-p/1287923#M69049</link>
    <description>&lt;P&gt;And it's not just in VBScript.&amp;nbsp; This is Arcade with the same results:&lt;/P&gt;&lt;P&gt;$feature.map_label + TextFormatting.NewLine + $feature.start_even +&amp;nbsp; TextFormatting.NewLine + $feature.start_odd +&amp;nbsp; TextFormatting.NewLine + $feature.end_even +&amp;nbsp; $feature.end_odd&lt;/P&gt;</description>
    <pubDate>Wed, 10 May 2023 19:31:08 GMT</pubDate>
    <dc:creator>PLadd</dc:creator>
    <dc:date>2023-05-10T19:31:08Z</dc:date>
    <item>
      <title>use vbscript with carriage return</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/use-vbscript-with-carriage-return/m-p/1287876#M69029</link>
      <description>&lt;P&gt;(do others get tired of having to google every issue in ArcGIS Pro? Man, it's exhausing!)&lt;/P&gt;&lt;P&gt;Today's issue is that I am writing a label expression in ArcGIS Pro using VBScript.&amp;nbsp; I want to use a carriage return (or new line feed or whatever we're calling it) but the following do not work:&lt;/P&gt;&lt;P&gt;[map_label] &amp;amp; vbcr &amp;amp; [start_even]&lt;/P&gt;&lt;P&gt;[map_label] &amp;amp; vbcrlf &amp;amp; [start_even]&lt;/P&gt;&lt;P&gt;Also tried: $feature.map_label + "/n" + $feature.start_even&lt;/P&gt;&lt;P&gt;And:&amp;nbsp;$feature.map_label + TextFormatting.NewLine + $feature.start_even&lt;/P&gt;&lt;P&gt;The expression check is valid.&amp;nbsp; I'm using Pro 2.9.5.&lt;/P&gt;&lt;P&gt;Everything stays on the same line as seen below.&amp;nbsp; HELP!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PLadd_0-1683742479941.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/70355i067498A35D9344A4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PLadd_0-1683742479941.png" alt="PLadd_0-1683742479941.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 18:21:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/use-vbscript-with-carriage-return/m-p/1287876#M69029</guid>
      <dc:creator>PLadd</dc:creator>
      <dc:date>2023-05-10T18:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: use vbscript with carriage return</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/use-vbscript-with-carriage-return/m-p/1287905#M69041</link>
      <description>&lt;P&gt;How about&amp;nbsp;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;vbNewLine?..&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 19:03:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/use-vbscript-with-carriage-return/m-p/1287905#M69041</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2023-05-10T19:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: use vbscript with carriage return</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/use-vbscript-with-carriage-return/m-p/1287918#M69048</link>
      <description>&lt;P&gt;Strange - it's an improvement but certainly not doing what I've told it to do:&lt;/P&gt;&lt;P&gt;Here's the expression:&lt;/P&gt;&lt;P&gt;[map_label] &amp;amp; vbNewLine &amp;amp; [start_even] &amp;amp; vbNewLine &amp;amp; [start_odd] &amp;amp; vbNewLine &amp;amp; [end_even] &amp;amp; vbNewLine &amp;amp; [end_odd]&lt;/P&gt;&lt;P&gt;And here's the result (hope you can see that the see that map_label is on one line and all of the house numbers are on the second line - instead of on their own lines per the expression above).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PLadd_0-1683746503913.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/70363iD40254D3A4370290/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PLadd_0-1683746503913.png" alt="PLadd_0-1683746503913.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 19:24:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/use-vbscript-with-carriage-return/m-p/1287918#M69048</guid>
      <dc:creator>PLadd</dc:creator>
      <dc:date>2023-05-10T19:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: use vbscript with carriage return</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/use-vbscript-with-carriage-return/m-p/1287923#M69049</link>
      <description>&lt;P&gt;And it's not just in VBScript.&amp;nbsp; This is Arcade with the same results:&lt;/P&gt;&lt;P&gt;$feature.map_label + TextFormatting.NewLine + $feature.start_even +&amp;nbsp; TextFormatting.NewLine + $feature.start_odd +&amp;nbsp; TextFormatting.NewLine + $feature.end_even +&amp;nbsp; $feature.end_odd&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 19:31:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/use-vbscript-with-carriage-return/m-p/1287923#M69049</guid>
      <dc:creator>PLadd</dc:creator>
      <dc:date>2023-05-10T19:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: use vbscript with carriage return</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/use-vbscript-with-carriage-return/m-p/1287929#M69051</link>
      <description>&lt;P data-unlink="true"&gt;&lt;SPAN&gt;It looks like you may be using Street placement style. &lt;/SPAN&gt;&lt;SPAN class=""&gt;Maplex Label Engine&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;uses&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/3.1/help/mapping/text/label-using-the-street-placement-style.htm" target="_blank" rel="noopener"&gt;special stacking rules for street&amp;nbsp;&amp;nbsp;placement&lt;/A&gt;&lt;SPAN&gt;. Maplex controls where to stack the label and has limits of how many stacked lines are possible. Furthermore, when labeling with the&amp;nbsp;&lt;SPAN class=""&gt;Street placement&lt;/SPAN&gt;&amp;nbsp;style, labels have a limit of six words. If there are more than six, the label is not placed so if any of the street names have more than 2 words your labels will go unplaced because the total label will exceed 6 words with all those fields combined in your example.&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-unlink="true"&gt;&lt;SPAN&gt;If you change to Regular placement you should be able to achieve the specific stacking you're looking for.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 19:43:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/use-vbscript-with-carriage-return/m-p/1287929#M69051</guid>
      <dc:creator>JesseWickizer</dc:creator>
      <dc:date>2023-05-10T19:43:08Z</dc:date>
    </item>
  </channel>
</rss>

