<?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 I cannot split a string. HELP in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/I-cannot-split-a-string-HELP/m-p/9599#M31963</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;AC9 GDL:&lt;BR /&gt;
&lt;BR /&gt;
ss = "3 pieces 2x5 beam"&lt;BR /&gt;
n = SPLIT (ss, "%n pieces %nx%n %s", num, ss1, size1, ss2, size2, name) &lt;BR /&gt;
IF n = 6 THEN&lt;BR /&gt;
     PRINT num, ss1, size1, ss2, size2, name     ! 3 pieces 2 x 5 beam&lt;BR /&gt;
ELSE&lt;BR /&gt;
     PRINT "ERROR"&lt;BR /&gt;
ENDIF &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
i cant understand, why is this simple example always prints ERROR.&lt;BR /&gt;
I need to scan string parameter for a number of strings, or numeric parts, divided by commas.&lt;/T&gt;&lt;/DIV&gt;</description>
    <pubDate>Sat, 17 Mar 2007 13:48:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2007-03-17T13:48:57Z</dc:date>
    <item>
      <title>I cannot split a string. HELP</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/I-cannot-split-a-string-HELP/m-p/9599#M31963</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;AC9 GDL:&lt;BR /&gt;
&lt;BR /&gt;
ss = "3 pieces 2x5 beam"&lt;BR /&gt;
n = SPLIT (ss, "%n pieces %nx%n %s", num, ss1, size1, ss2, size2, name) &lt;BR /&gt;
IF n = 6 THEN&lt;BR /&gt;
     PRINT num, ss1, size1, ss2, size2, name     ! 3 pieces 2 x 5 beam&lt;BR /&gt;
ELSE&lt;BR /&gt;
     PRINT "ERROR"&lt;BR /&gt;
ENDIF &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
i cant understand, why is this simple example always prints ERROR.&lt;BR /&gt;
I need to scan string parameter for a number of strings, or numeric parts, divided by commas.&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 17 Mar 2007 13:48:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/I-cannot-split-a-string-HELP/m-p/9599#M31963</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-03-17T13:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: I cannot split a string. HELP</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/I-cannot-split-a-string-HELP/m-p/9600#M31964</link>
      <description>For me, it works (a direct Copy-Paste from the forum to the 2D Script).</description>
      <pubDate>Wed, 28 Mar 2007 12:09:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/I-cannot-split-a-string-HELP/m-p/9600#M31964</guid>
      <dc:creator>rocorona</dc:creator>
      <dc:date>2007-03-28T12:09:24Z</dc:date>
    </item>
  </channel>
</rss>

