<?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: substrings of path dynamic text in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/substrings-of-path-dynamic-text/m-p/200665#M15418</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You should look at the methods that are available in the os.path module. Their purpose is for parsing and manipulating file and folder path strings.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Mar 2012 01:15:03 GMT</pubDate>
    <dc:creator>BruceNielsen</dc:creator>
    <dc:date>2012-03-14T01:15:03Z</dc:date>
    <item>
      <title>substrings of path dynamic text</title>
      <link>https://community.esri.com/t5/python-questions/substrings-of-path-dynamic-text/m-p/200664#M15417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For an mxd that has the file path as dynamic text, is it possible to extract one or more substrings of characters from either the full path or the document name, and assign the substrings to variables to be used to populate text strings elsewhere within the mxd? I'd prefer to do this within an open mxd.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt Millard&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 21:00:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/substrings-of-path-dynamic-text/m-p/200664#M15417</guid>
      <dc:creator>MattMillard</dc:creator>
      <dc:date>2012-03-13T21:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: substrings of path dynamic text</title>
      <link>https://community.esri.com/t5/python-questions/substrings-of-path-dynamic-text/m-p/200665#M15418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You should look at the methods that are available in the os.path module. Their purpose is for parsing and manipulating file and folder path strings.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 01:15:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/substrings-of-path-dynamic-text/m-p/200665#M15418</guid>
      <dc:creator>BruceNielsen</dc:creator>
      <dc:date>2012-03-14T01:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: substrings of path dynamic text</title>
      <link>https://community.esri.com/t5/python-questions/substrings-of-path-dynamic-text/m-p/200666#M15419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The string module allows you to search for substrings.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;os.path.basename and os.path.dirname will break up the mxd name and path.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 03:40:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/substrings-of-path-dynamic-text/m-p/200666#M15419</guid>
      <dc:creator>StephenBarrow</dc:creator>
      <dc:date>2012-03-19T03:40:55Z</dc:date>
    </item>
  </channel>
</rss>

