Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: string splitting

by yakko (Friar)
on Mar 31, 2001 at 02:56 UTC ( #68538=note: print w/replies, xml ) Need Help??


in reply to string splitting

my $chars=(split(/\t/,$string,2))[0];
... is one way to do it.

--
Me spell chucker work grate. Need grandma chicken.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://68538]
help
Chatterbox?
[marto]: good morning all
[Discipulus]: mmh.. why print eval '2+1/3*(2+2/5))' does not print anything?

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2017-10-24 10:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (286 votes). Check out past polls.

    Notices?