in reply to split trying to look for /

you could also use split( /\//, '16/12/2003' ); if you whant to go for regex.
note, that evriting in the "//" is regex for split and regex has for most special caracters special uses. to avoud that you could use /\Qsome-nasty-chars\E/.
oh, yes, if you dont know what regex is, look here and then here.

Replies are listed 'Best First'.
Re: Re: split trying to look for /
by Aragorn (Curate) on Dec 16, 2003 at 13:03 UTC
    If you use the m// operator, things get a little more readable, as you can use other delimiters than /: split(m!/!, '16/12/2003").

    Arjen