Read the documentation for split. The first argument to split is a regular expression. A dot has a special meaning in a regular expression. To use it as a real dot you need to escape it.
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: Problem with Split function
by davorg
in thread Problem with Split function
by Wampa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |