<?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: Invalid Expression Error: No function was found with the name 'left' in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/invalid-expression-error-no-function-was-found/m-p/1640115#M97980</link>
    <description>&lt;P&gt;I believe this arcade expression will work for you:&lt;BR /&gt;&lt;BR /&gt;var txt = $feature.Label;&lt;BR /&gt;return Left(txt, Count(txt) - 14);&lt;BR /&gt;&lt;BR /&gt;Replace the $feature.Label with $feature.Name - I believe it will work for you.&lt;/P&gt;</description>
    <pubDate>Thu, 07 Aug 2025 18:04:47 GMT</pubDate>
    <dc:creator>Robert_LeClair</dc:creator>
    <dc:date>2025-08-07T18:04:47Z</dc:date>
    <item>
      <title>Invalid Expression Error: No function was found with the name 'left'</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/invalid-expression-error-no-function-was-found/m-p/1639884#M97958</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MackenzeOriger_0-1754525133262.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/138003iE63B0F84C4F980CB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MackenzeOriger_0-1754525133262.png" alt="MackenzeOriger_0-1754525133262.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I was doing a Field Calculation to remove the last 14 characters from every string in the field, and when I tried to verify the expression I got this error. Despite this, I was able to hit apply and the code worked as intended. Is this a bug, or is there something I'm not understanding here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 00:09:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/invalid-expression-error-no-function-was-found/m-p/1639884#M97958</guid>
      <dc:creator>MackenzeOriger</dc:creator>
      <dc:date>2025-08-07T00:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Expression Error: No function was found with the name 'left'</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/invalid-expression-error-no-function-was-found/m-p/1639889#M97959</link>
      <description>&lt;P&gt;I don't use Arcade but&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/arcade/function-reference/text_functions/#left" target="_blank"&gt;Text functions | ArcGIS Arcade | Esri Developer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;has it being upper case which would be strange if arcade doesn't respect case.&lt;/P&gt;&lt;P&gt;Python slicing is an option (replace a and b with your field name enclosed in ! marks eg !name_field!&lt;/P&gt;&lt;LI-CODE lang="python"&gt;a = "abcdefghijklmnopqrstuvwxyz"
b = "abcde"

a[:14]
'abcdefghijklmn'

b[:14]
'abcde'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 00:20:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/invalid-expression-error-no-function-was-found/m-p/1639889#M97959</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2025-08-07T00:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Expression Error: No function was found with the name 'left'</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/invalid-expression-error-no-function-was-found/m-p/1639897#M97961</link>
      <description>&lt;P&gt;Thank you for your swift response! In the past i've not noticed any issues with case sensitivity in Arcade functions, but I realized after you had mentioned it that I had capitalized the Count function and not the Left function. Although it didn't seem to make a difference; I closed and reopened the project, rewrote the code exactly and it validated just fine. I think it must just be a bug...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MackenzeOriger_0-1754527379799.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/138011i4070D3DE51AC3906/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MackenzeOriger_0-1754527379799.png" alt="MackenzeOriger_0-1754527379799.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 00:45:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/invalid-expression-error-no-function-was-found/m-p/1639897#M97961</guid>
      <dc:creator>MackenzeOriger</dc:creator>
      <dc:date>2025-08-07T00:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Expression Error: No function was found with the name 'left'</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/invalid-expression-error-no-function-was-found/m-p/1640115#M97980</link>
      <description>&lt;P&gt;I believe this arcade expression will work for you:&lt;BR /&gt;&lt;BR /&gt;var txt = $feature.Label;&lt;BR /&gt;return Left(txt, Count(txt) - 14);&lt;BR /&gt;&lt;BR /&gt;Replace the $feature.Label with $feature.Name - I believe it will work for you.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 18:04:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/invalid-expression-error-no-function-was-found/m-p/1640115#M97980</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2025-08-07T18:04:47Z</dc:date>
    </item>
  </channel>
</rss>

