<?xml version="1.0" encoding="windows-1252"?>
<node id="1005035" title="Re: Regexp help" created="2012-11-21 20:09:12" updated="2012-11-21 20:09:12">
<type id="11">
note</type>
<author id="918402">
2teez</author>
<data>
<field name="doctext">
&lt;p&gt;
[doc://split] perl function will conveniently do like so:
&lt;c&gt;
use warnings;
use strict;
use Data::Printer;

my $str='0.740234|0.758789|0.748047|0.749023|0.748047|0.754883|0.743164|0.748047|0.780273|0.739258|0.765625|0.761719|0.760742|||||0.75293|0.742188';

   my @str_data = split/\|/,$str;

  p @str_data;&lt;/c&gt;
&lt;tt&gt;Output:&lt;/tt&gt;&lt;br&gt;
&lt;c&gt;
[
  [0]  0.740234,
  [1]  0.758789,
  [2]  0.748047,
  [3]  0.749023,
  [4]  0.748047,
  [5]  0.754883,
  [6]  0.743164,
  [7]  0.748047,
  [8]  0.780273,
  [9]  0.739258,
  [10] 0.765625,
  [11] 0.761719,
  [12] 0.760742,
  [13] "",
  [14] "",
  [15] "",
  [16] "",
  [17] 0.75293,
  [18] 0.742188
]
&lt;/c&gt;
&lt;/p&gt;
&lt;!-- Node text goes above. Div tags should contain sig only --&gt;
&lt;div class="pmsig"&gt;&lt;div class="pmsig-918402"&gt;
If you tell me, I'll forget.&lt;br&gt;
If you show me, I'll remember.&lt;br&gt;
if you involve me, I'll understand.&lt;br&gt;
--- Author [unknown to me]
&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
1005032</field>
<field name="parent_node">
1005032</field>
</data>
</node>
