in reply to Splitting String???
Don't forget to escape a literal decimal point.
The . character in a regex (see perlre) represents any singular character. The line split(/./) does not split on a literal . -- rather every character. As ikegami pointed out above, to split on a literal . merely split(/\./).
UPDATE: It would seem an inopportune sequence of a browser crash and resolution failures significantly delayed the submission of this node. Appologies for the duplication.
|
|---|