<?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: Field Calculator, pulling data from string to new columns in ArcMap Questions</title>
    <link>https://community.esri.com/t5/arcmap-questions/field-calculator-pulling-data-from-string-to-new/m-p/1175278#M3765</link>
    <description>&lt;P&gt;It can be done with creative instring calculations.&lt;/P&gt;&lt;P&gt;However, what I would do is export your Table, with opject id to a .csv.&lt;/P&gt;&lt;P&gt;Open the .csv in Excel.&amp;nbsp; Copy all attributes in the Field you need to scatter.&lt;/P&gt;&lt;P&gt;Paste it into Notepad.&lt;/P&gt;&lt;P&gt;Copy it from notepad and paste it into Word.&lt;/P&gt;&lt;P&gt;In word do find replace and search for&amp;nbsp; &amp;nbsp;Comma and Space and replace it with&amp;nbsp; &amp;nbsp;^t&lt;/P&gt;&lt;P&gt;This will spread your data in to four parts and remove the spaces.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The copy and paste the result from word back into your spreadsheet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The bring your spreadsheet into your mxd, join it based on Object ID and update the columns.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If your in a personal&amp;nbsp; Geodatabase you could just paste the results of each column into the appropriate column.&lt;/P&gt;&lt;P&gt;Actually took me a lot longer to write this then it would take me to do it.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 18 May 2022 18:55:02 GMT</pubDate>
    <dc:creator>RobertBorchert</dc:creator>
    <dc:date>2022-05-18T18:55:02Z</dc:date>
    <item>
      <title>Field Calculator, pulling data from string to new columns</title>
      <link>https://community.esri.com/t5/arcmap-questions/field-calculator-pulling-data-from-string-to-new/m-p/1175258#M3761</link>
      <description>&lt;P&gt;Using ArcMap 10.8.1.&amp;nbsp; I have a set of data I need to pull into 3 separate, new columns.&amp;nbsp; &amp;nbsp;I have been successful with 2 of the pieces of data, but the 3rd is proving to be difficult.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The data in the column (the column is titled "Comment") is:&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;1, 59264, 0 , 12459&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The first number is a location, the following 3 numbers are individual readings.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mid ([Comment], 3, 6)&lt;/STRONG&gt;&amp;nbsp; &amp;nbsp;works for the 59264 number.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Right ([Comment], 5)&amp;nbsp;&lt;/STRONG&gt; &amp;nbsp;works for the 12459 number.&lt;/P&gt;&lt;P&gt;I can't nail down the statement for the 0 in this case.&amp;nbsp; Any ideas what that would need to read to pull that section out?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(The first number, 1 in this case, is irrelevant, its just a place holder generated by the instruments we use).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 18:37:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/field-calculator-pulling-data-from-string-to-new/m-p/1175258#M3761</guid>
      <dc:creator>WDMappingWork</dc:creator>
      <dc:date>2022-05-18T18:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: Field Calculator, pulling data from string to new columns</title>
      <link>https://community.esri.com/t5/arcmap-questions/field-calculator-pulling-data-from-string-to-new/m-p/1175273#M3763</link>
      <description>The zero may be text versus numeric.&lt;BR /&gt;</description>
      <pubDate>Wed, 18 May 2022 18:50:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/field-calculator-pulling-data-from-string-to-new/m-p/1175273#M3763</guid>
      <dc:creator>walnutriver</dc:creator>
      <dc:date>2022-05-18T18:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Field Calculator, pulling data from string to new columns</title>
      <link>https://community.esri.com/t5/arcmap-questions/field-calculator-pulling-data-from-string-to-new/m-p/1175277#M3764</link>
      <description>&lt;P&gt;You could split the input string and access the value by index.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var num_arr = Split(Replace($feature['Comment'], ' ', ''), ',')

return num_arr[2]&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_1-1652900051099.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/41650i453ED767A5CB4C83/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcarlson_1-1652900051099.png" alt="jcarlson_1-1652900051099.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 18:54:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/field-calculator-pulling-data-from-string-to-new/m-p/1175277#M3764</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2022-05-18T18:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: Field Calculator, pulling data from string to new columns</title>
      <link>https://community.esri.com/t5/arcmap-questions/field-calculator-pulling-data-from-string-to-new/m-p/1175278#M3765</link>
      <description>&lt;P&gt;It can be done with creative instring calculations.&lt;/P&gt;&lt;P&gt;However, what I would do is export your Table, with opject id to a .csv.&lt;/P&gt;&lt;P&gt;Open the .csv in Excel.&amp;nbsp; Copy all attributes in the Field you need to scatter.&lt;/P&gt;&lt;P&gt;Paste it into Notepad.&lt;/P&gt;&lt;P&gt;Copy it from notepad and paste it into Word.&lt;/P&gt;&lt;P&gt;In word do find replace and search for&amp;nbsp; &amp;nbsp;Comma and Space and replace it with&amp;nbsp; &amp;nbsp;^t&lt;/P&gt;&lt;P&gt;This will spread your data in to four parts and remove the spaces.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The copy and paste the result from word back into your spreadsheet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The bring your spreadsheet into your mxd, join it based on Object ID and update the columns.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If your in a personal&amp;nbsp; Geodatabase you could just paste the results of each column into the appropriate column.&lt;/P&gt;&lt;P&gt;Actually took me a lot longer to write this then it would take me to do it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 18:55:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/field-calculator-pulling-data-from-string-to-new/m-p/1175278#M3765</guid>
      <dc:creator>RobertBorchert</dc:creator>
      <dc:date>2022-05-18T18:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Field Calculator, pulling data from string to new columns</title>
      <link>https://community.esri.com/t5/arcmap-questions/field-calculator-pulling-data-from-string-to-new/m-p/1175301#M3766</link>
      <description>&lt;P&gt;I appreciate all the help.&amp;nbsp; I was able to use a Python expression to split what I needed out.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(This is absolute baptism by fire for me, so my apologies if the questions seemed a bit off.&amp;nbsp; Again, thank you all for the help.)&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 20:00:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/field-calculator-pulling-data-from-string-to-new/m-p/1175301#M3766</guid>
      <dc:creator>WDMappingWork</dc:creator>
      <dc:date>2022-05-18T20:00:25Z</dc:date>
    </item>
  </channel>
</rss>

