Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Problem splitting a string that contains ^I

by dws (Chancellor)
on Apr 21, 2002 at 21:38 UTC ( #160932=note: print w/replies, xml ) Need Help??


in reply to Problem splitting a string that contains ^I

The tab (^I) characters is represented in Perl strings via \t. Thus   @parts = split "\t", $string;
will separate tab-delimited parts.

Replies are listed 'Best First'.
Re: Re: Problem splitting a string that contains ^I
by Anonymous Monk on Apr 21, 2002 at 23:56 UTC
    split with '\t' has helped me. Thank you very much.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://160932]
help
Chatterbox?
[Eily]: also you can use <p> or <br /> tags to have multiple lines
[hippo]: Please also take a moment to read through I know what I mean. Why don't you? - this guidance will help others to help you.

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2018-02-21 10:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (277 votes). Check out past polls.

    Notices?