Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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?
[MidLifeXis]: Wait, what? Your specs are all tied down at the start? What is this dark magic, stevieb?

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2017-01-20 18:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (176 votes). Check out past polls.