<?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: Trim Text in an Expression in Collaboration with other software</title>
    <link>https://community.graphisoft.com/t5/Collaboration-with-other/Trim-Text-in-an-Expression/m-p/255284#M33340</link>
    <description>SPLITLEFT ( {Property:General Parameters/Composite Structure}, "-", 1 )</description>
    <pubDate>Mon, 16 Sep 2019 19:18:07 GMT</pubDate>
    <dc:creator>poco2013</dc:creator>
    <dc:date>2019-09-16T19:18:07Z</dc:date>
    <item>
      <title>Trim Text in an Expression</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Trim-Text-in-an-Expression/m-p/255282#M33338</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;I want to create a Property so I can Label some Composite Walls but I would like to "Trim" off a Revision Number. We add to our Composite Names (the Rev Number lets us know we are using the most recent version as we have a number of Models using a number of Modules) &lt;BR /&gt;
&lt;BR /&gt;
So for example our Composite name is &lt;B&gt;"LIN_01a-02"&lt;/B&gt; where the &lt;B&gt;"-02"&lt;/B&gt; is the Revision Number. So I want an Expression that trims off the &lt;B&gt;"-02"&lt;/B&gt;  and displays a result of &lt;B&gt;"LIN_01a"&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
I've tried various Text function but ArchiCAD kicks up the message below&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="https://my.pcloud.com/publink/show?code=XZhyQHkZRJA5E5af6DksA2LIrKss57pSlguy" target="_blank"&gt;&lt;/A&gt;&lt;S&gt;&lt;A href="https://my.pcloud.com/publink/show?code=XZhyQHkZRJA5E5af6DksA2LIrKss57pSlguy" target="_blank"&gt;&lt;/A&gt;&lt;A href="&amp;lt;/s&amp;gt;&amp;lt;LINK_TEXT text=&amp;quot;https://my.pcloud.com/publink/show?code ... ss57pSlguy&amp;quot;&amp;gt;https://my.pcloud.com/publink/show?code=XZhyQHkZRJA5E5af6DksA2LIrKss57pSlguy&amp;lt;/LINK_TEXT&amp;gt;&amp;lt;e&amp;gt;"&gt;&lt;/A&gt;&lt;/S&gt;&lt;LINK_TEXT text="https://my.pcloud.com/publink/show?code ... ss57pSlguy"&gt;https://my.pcloud.com/publink/show?code=XZhyQHkZRJA5E5af6DksA2LIrKss57pSlguy&lt;/LINK_TEXT&gt;&lt;E&gt;&lt;/E&gt;&lt;BR /&gt;
&lt;BR /&gt;
Any idea how I can get this to work?&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 16 Sep 2019 14:20:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Trim-Text-in-an-Expression/m-p/255282#M33338</guid>
      <dc:creator>fuzzytnth3</dc:creator>
      <dc:date>2019-09-16T14:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: Trim Text in an Expression</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Trim-Text-in-an-Expression/m-p/255283#M33339</link>
      <description>Well I got it to work but not in a clever way that can cope with having longer or shorter Composite names&lt;BR /&gt;

&lt;PRE&gt;LEFT ( Composite Structure, 7 )&lt;/PRE&gt;

The above works but only if the Composite name is 7 characters long. What I would like to do is be able to look for the Hyphen in the Composite name and display everything to the left of the Hyphen. I remember you can do this with IFC properties but I've not managed to get Expressions to work like that. &lt;BR /&gt;
&lt;BR /&gt;
So if anyone has sussed how to do that then I would be very grateful if you could let me know how &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;</description>
      <pubDate>Mon, 16 Sep 2019 15:27:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Trim-Text-in-an-Expression/m-p/255283#M33339</guid>
      <dc:creator>fuzzytnth3</dc:creator>
      <dc:date>2019-09-16T15:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Trim Text in an Expression</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Trim-Text-in-an-Expression/m-p/255284#M33340</link>
      <description>SPLITLEFT ( {Property:General Parameters/Composite Structure}, "-", 1 )</description>
      <pubDate>Mon, 16 Sep 2019 19:18:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Trim-Text-in-an-Expression/m-p/255284#M33340</guid>
      <dc:creator>poco2013</dc:creator>
      <dc:date>2019-09-16T19:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Trim Text in an Expression</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Trim-Text-in-an-Expression/m-p/255285#M33341</link>
      <description>Brilliant thank you that is exactly what I was after  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt;</description>
      <pubDate>Tue, 17 Sep 2019 07:25:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Trim-Text-in-an-Expression/m-p/255285#M33341</guid>
      <dc:creator>fuzzytnth3</dc:creator>
      <dc:date>2019-09-17T07:25:53Z</dc:date>
    </item>
  </channel>
</rss>

