Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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?
[ambrus]: Monday

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2016-12-05 11:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (80 votes). Check out past polls.