<?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: truncate string with field calculator in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/truncate-string-with-field-calculator/m-p/46420#M198</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/11300"&gt;Hwa Saup Lee&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry, for sure trim is not what you are looking for but this should fit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;substring(string, intIndexBegin, intIndexEnd)&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff; font-weight: 300;"&gt;Best Stefan&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Oct 2020 08:25:40 GMT</pubDate>
    <dc:creator>Stefan_Jung</dc:creator>
    <dc:date>2020-10-08T08:25:40Z</dc:date>
    <item>
      <title>truncate string with field calculator</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/truncate-string-with-field-calculator/m-p/46418#M196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I truncate string value into a certain length in the geoevent server?&amp;nbsp; &amp;nbsp; I am trying with field calculator with the following:&amp;nbsp;&lt;/P&gt;&lt;P&gt;expression: LEFT([input_string_field],254)&lt;/P&gt;&lt;P&gt;target: Existing Field&lt;/P&gt;&lt;P&gt;Existing Field Name: definition, [input_string_field]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any suggestion?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2020 07:29:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/truncate-string-with-field-calculator/m-p/46418#M196</guid>
      <dc:creator>Hwa_SaupLee</dc:creator>
      <dc:date>2020-10-01T07:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: truncate string with field calculator</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/truncate-string-with-field-calculator/m-p/46419#M197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/11300"&gt;Hwa Saup Lee&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is "trim()" not what you are looking for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out the documentation:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://enterprise.arcgis.com/de/geoevent/latest/process-event-data/field-calculator-processor.htm" title="https://enterprise.arcgis.com/de/geoevent/latest/process-event-data/field-calculator-processor.htm"&gt;Field Calculator Processor—Process Event Data(10.8) | Dokumentation zu ArcGIS Enterprise&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2020 07:09:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/truncate-string-with-field-calculator/m-p/46419#M197</guid>
      <dc:creator>Stefan_Jung</dc:creator>
      <dc:date>2020-10-05T07:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: truncate string with field calculator</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/truncate-string-with-field-calculator/m-p/46420#M198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/11300"&gt;Hwa Saup Lee&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry, for sure trim is not what you are looking for but this should fit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;substring(string, intIndexBegin, intIndexEnd)&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff; font-weight: 300;"&gt;Best Stefan&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2020 08:25:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/truncate-string-with-field-calculator/m-p/46420#M198</guid>
      <dc:creator>Stefan_Jung</dc:creator>
      <dc:date>2020-10-08T08:25:40Z</dc:date>
    </item>
  </channel>
</rss>

