<?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 insert space into string with Field Calculator in ArcMap Questions</title>
    <link>https://community.esri.com/t5/arcmap-questions/insert-space-into-string-with-field-calculator/m-p/1093279#M2915</link>
    <description>&lt;DIV class="votecell post-layout--left"&gt;&lt;DIV class="js-voting-container d-flex jc-center fd-column ai-stretch gs4 fc-black-200"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="postcell post-layout--right"&gt;&lt;DIV class="s-prose js-post-body"&gt;&lt;P&gt;I am using ArcMap 10.7.1. This seems like it should be easy so maybe I am missing something.&lt;/P&gt;&lt;P&gt;I want to insert a space into a string between specific parts of the string using Field Calculator:&lt;/P&gt;&lt;P&gt;!FIELD! .replace("F'target", "F' target")&lt;/P&gt;&lt;P&gt;Neither 'F' or 'target' are at beginning or end of string, those characters are in the middle of a string.&lt;/P&gt;&lt;P&gt;I run the calculation, and nothing happens. I've tried to escape the single quote, but no difference. Do I need a wildcard tag at beginning and end of the substring?&lt;BR /&gt;&lt;BR /&gt;I have tried this with VB and Python..I can change other string values in the same table.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 27 Aug 2021 20:32:40 GMT</pubDate>
    <dc:creator>JasonFitzsimmons</dc:creator>
    <dc:date>2021-08-27T20:32:40Z</dc:date>
    <item>
      <title>insert space into string with Field Calculator</title>
      <link>https://community.esri.com/t5/arcmap-questions/insert-space-into-string-with-field-calculator/m-p/1093279#M2915</link>
      <description>&lt;DIV class="votecell post-layout--left"&gt;&lt;DIV class="js-voting-container d-flex jc-center fd-column ai-stretch gs4 fc-black-200"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="postcell post-layout--right"&gt;&lt;DIV class="s-prose js-post-body"&gt;&lt;P&gt;I am using ArcMap 10.7.1. This seems like it should be easy so maybe I am missing something.&lt;/P&gt;&lt;P&gt;I want to insert a space into a string between specific parts of the string using Field Calculator:&lt;/P&gt;&lt;P&gt;!FIELD! .replace("F'target", "F' target")&lt;/P&gt;&lt;P&gt;Neither 'F' or 'target' are at beginning or end of string, those characters are in the middle of a string.&lt;/P&gt;&lt;P&gt;I run the calculation, and nothing happens. I've tried to escape the single quote, but no difference. Do I need a wildcard tag at beginning and end of the substring?&lt;BR /&gt;&lt;BR /&gt;I have tried this with VB and Python..I can change other string values in the same table.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 27 Aug 2021 20:32:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/insert-space-into-string-with-field-calculator/m-p/1093279#M2915</guid>
      <dc:creator>JasonFitzsimmons</dc:creator>
      <dc:date>2021-08-27T20:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: insert space into string with Field Calculator</title>
      <link>https://community.esri.com/t5/arcmap-questions/insert-space-into-string-with-field-calculator/m-p/1093284#M2916</link>
      <description>&lt;P&gt;Could you share screenshot of the present values in the corresponding field of the attribute table? Do you have an apostrophe between F and target (e.g. F'target)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 20:40:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/insert-space-into-string-with-field-calculator/m-p/1093284#M2916</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2021-08-27T20:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: insert space into string with Field Calculator</title>
      <link>https://community.esri.com/t5/arcmap-questions/insert-space-into-string-with-field-calculator/m-p/1093285#M2917</link>
      <description>&lt;P&gt;I found the problem, the first single quote was "&amp;nbsp;‘ " instead of " ' "&lt;BR /&gt;Not sure how that got there but that was it&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 20:41:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/insert-space-into-string-with-field-calculator/m-p/1093285#M2917</guid>
      <dc:creator>JasonFitzsimmons</dc:creator>
      <dc:date>2021-08-27T20:41:51Z</dc:date>
    </item>
  </channel>
</rss>

